Code Review
/
apps
/
low-level-can-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
c1aa8aa
)
Fix -Wno-pedantic on old GCC
author
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Sat, 14 Nov 2015 20:37:54 +0000
(22:37 +0200)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Sat, 14 Nov 2015 20:37:54 +0000
(22:37 +0200)
tests/anonymous_oneof/SConscript
patch
|
blob
|
history
diff --git
a/tests/anonymous_oneof/SConscript
b/tests/anonymous_oneof/SConscript
index
8f634bd
..
051c772
100644
(file)
--- a/
tests/anonymous_oneof/SConscript
+++ b/
tests/anonymous_oneof/SConscript
@@
-16,7
+16,7
@@
if env.GetOption('clean') or (match and (version[0] > 2 or (version[0] == 2 and
# Anonymous oneofs are supported by clang and gcc
if 'clang' in env['CC'] or 'gcc' in env['CC']:
env2 = env.Clone()
- env2
.Append(CFLAGS = "-Wno-pedantic"
)
+ env2
['CFLAGS'].remove('-pedantic'
)
env2.NanopbProto('oneof')
dec = env2.Program(['decode_oneof.c',