mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-06 08:20:07 +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 \
|
-Wold-style-definition \
|
||||||
-Wno-missing-field-initializers \
|
-Wno-missing-field-initializers \
|
||||||
-Wno-unused-parameter \
|
-Wno-unused-parameter \
|
||||||
-Wno-attributes \
|
|
||||||
-Wno-long-long"
|
-Wno-long-long"
|
||||||
|
|
||||||
exec $CLANG $PEDANTIC $CONVERSION \
|
exec $CLANG $PEDANTIC $CONVERSION \
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ EXTRA="-Wextra \
|
|||||||
-Wold-style-definition \
|
-Wold-style-definition \
|
||||||
-Wno-missing-field-initializers \
|
-Wno-missing-field-initializers \
|
||||||
-Wno-unused-parameter \
|
-Wno-unused-parameter \
|
||||||
-Wno-attributes \
|
|
||||||
-Wno-long-long \
|
-Wno-long-long \
|
||||||
-Wmaybe-uninitialized \
|
-Wmaybe-uninitialized \
|
||||||
-Wvla"
|
-Wvla"
|
||||||
|
|||||||
Reference in New Issue
Block a user