Code Review
/
apps
/
agl-service-can-low-level.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a46ed9f
)
Add strict-aliasing GCC warnings for core
author
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Tue, 4 Feb 2014 18:11:52 +0000
(20:11 +0200)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Tue, 4 Feb 2014 18:11:52 +0000
(20:11 +0200)
tests/SConstruct
patch
|
blob
|
history
diff --git
a/tests/SConstruct
b/tests/SConstruct
index
566b479
..
abc6e7c
100644
(file)
--- 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']: