Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/libhwbase/+/43556 )
Change subject: Makefile: Add `-gnatw_R` to suppress spurious warning ......................................................................
Makefile: Add `-gnatw_R` to suppress spurious warning
Looks like there's a new warning option that complains when the order of component declarations, component clauses, and bit-level layout do not all agree. However, we also enable `warnings are errors`. Plus, we use mismatched component representation clauses on purpose in libgfxinit's epilepsy-inducing gfxtest program to have RGB ordering on hardware that works with BGR ordering. Hardware is cursed, so silence this warning.
Change-Id: I1565e3e834cd47b7f53fd2202b38fdf01a0b7619 Signed-off-by: Angel Pons th3fanbus@gmail.com --- M Makefile 1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/libhwbase refs/changes/56/43556/1
diff --git a/Makefile b/Makefile index 14a7d4f..f690ea4 100644 --- a/Makefile +++ b/Makefile @@ -67,6 +67,9 @@ # H Suppress warnings on hiding: # It's too annoying, you run out of ideas for identifiers fast. # +# _R Suppress warnings for out-of-order record representation clauses: +# We are modelling hardware here! +# # T Suppress warnings for tracking of deleted conditional code: # We use static options to select code paths at compile time. # @@ -84,7 +87,7 @@ # .Y Disable information messages for why package spec needs body: # Those messages are annoying. But don't forget to enable those, # if you need the information. -ADAFLAGS += -gnatwa.eeD.HHTU.U.W.Y +ADAFLAGS += -gnatwa.eeD.HH_RTU.U.W.Y # Disable style checks for now ADAFLAGS += -gnatyN