mirror of
https://github.com/acpica/acpica/
synced 2025-01-31 13:45:41 +03:00
Generic unix makefiles: Add additional warning options.
Mostly for gcc 4.
This commit is contained in:
parent
b5e61bc8ab
commit
24a732b0d5
@ -50,10 +50,18 @@ CWARNINGFLAGS = \
|
||||
# gcc 4+ flags
|
||||
#
|
||||
CWARNINGFLAGS+= \
|
||||
-Waggregate-return \
|
||||
-Wchar-subscripts \
|
||||
-Waddress \
|
||||
-Wempty-body \
|
||||
-Wlogical-op \
|
||||
-Wmissing-declarations \
|
||||
-Wmissing-field-initializers \
|
||||
-Wmissing-parameter-type \
|
||||
-Wnested-externs \
|
||||
-Wold-style-declaration \
|
||||
-Wold-style-definition \
|
||||
-Wredundant-decls \
|
||||
-Wtype-limits
|
||||
|
||||
#
|
||||
@ -64,6 +72,7 @@ CWARNINGFLAGS+= \
|
||||
# -Wunreachable-code \
|
||||
# -Wcast-qual \
|
||||
# -Wconversion
|
||||
# -Wshadow \
|
||||
|
||||
#
|
||||
# Bison/Flex configuration
|
||||
|
Loading…
x
Reference in New Issue
Block a user