mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Remove -Wno-attributes from -Wall tests.
It breaks compile time check for __attribute__((__symver__)) and it does not make sense either. Quoting gcc man page: -Wno-attributes Do not warn if an unexpected "__attribute__" is used, such as unrecognized attributes, function attributes applied to variables, etc. This does not stop errors for incorrect use of supported attributes. Well, we do want to check for unsupported __attributes__ un our code, right?
This commit is contained in:
@@ -29,7 +29,6 @@ EXTRA="\
|
||||
-Wold-style-definition \
|
||||
-Wno-missing-field-initializers \
|
||||
-Wno-unused-parameter \
|
||||
-Wno-attributes \
|
||||
-Wno-long-long"
|
||||
|
||||
exec $CLANG $PEDANTIC $CONVERSION \
|
||||
|
||||
@@ -32,7 +32,6 @@ EXTRA="-Wextra \
|
||||
-Wold-style-definition \
|
||||
-Wno-missing-field-initializers \
|
||||
-Wno-unused-parameter \
|
||||
-Wno-attributes \
|
||||
-Wno-long-long \
|
||||
-Wmaybe-uninitialized \
|
||||
-Wvla"
|
||||
|
||||
Reference in New Issue
Block a user