aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-09-11 16:51:53 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-09-11 16:51:53 +0300
commit152c2c910c9cda6e0beb1863c510c678300bdd7b (patch)
tree1fe735eb51906c0a2ee781f7ffc21cb20fc3591e
parent2b728150360f4c15512579ff53bc3247d3b8d083 (diff)
Disable warning about uint64_t (long long)
-rw-r--r--tests/SConstruct5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/SConstruct b/tests/SConstruct
index 26a513d5..3f4d7702 100644
--- a/tests/SConstruct
+++ b/tests/SConstruct
@@ -73,11 +73,14 @@ if 'gcc' in env['CC']:
env.Append(CFLAGS = '-ansi -pedantic -g -O0 -Wall -Werror --coverage -fstack-protector-all')
env.Append(LINKFLAGS = '--coverage')
+ # We currently need uint64_t anyway, even though ANSI C90 otherwise..
+ env.Append(CFLAGS = '-Wno-long-long')
+
# More strict checks on the nanopb core
env.Append(CORECFLAGS = '-Wextra -Wcast-qual -Wlogical-op -Wconversion')
elif 'clang' in env['CC']:
# CLang
- env.Append(CFLAGS = '-ansi -pedantic -g -O0 -Wall -Werror')
+ env.Append(CFLAGS = '-ansi -g -O0 -Wall -Werror')
env.Append(CORECFLAGS = ' -Wextra -Wcast-qual -Wconversion')
elif 'cl' in env['CC']:
# Microsoft Visual C++