build: enable "-Wcast-align" warning
It seems useful and might show something relevant.
This commit is contained in:
@@ -90,6 +90,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
|
||||
$_CFLAGS_MORE_WARNINGS_DISABLE_LTO \
|
||||
-Wall \
|
||||
-Wextra \
|
||||
-Wcast-align=strict \
|
||||
-Wdeclaration-after-statement \
|
||||
-Wfloat-equal \
|
||||
-Wformat-nonliteral \
|
||||
|
@@ -174,6 +174,7 @@ endif
|
||||
common_flags += cc.get_supported_arguments([
|
||||
'-Wall',
|
||||
'-Wextra',
|
||||
'-Wcast-align=strict',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wfloat-equal',
|
||||
'-Wformat-nonliteral',
|
||||
|
Reference in New Issue
Block a user