diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/SConstruct | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/SConstruct b/tests/SConstruct index 566b4793..abc6e7cb 100644 --- a/tests/SConstruct +++ b/tests/SConstruct @@ -74,6 +74,7 @@ if not env.GetOption('clean'): # Check if we can use extra strict warning flags (only with GCC) extra = '-Wcast-qual -Wlogical-op -Wconversion' + extra += ' -fstrict-aliasing -Wstrict-aliasing=1' extra += ' -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls' extra += ' -Wstack-protector ' if 'gcc' in env['CC']: |