build: Do not warn about C99 extensions
Change-Id: I5729a29a0f415636fbe6aec0767a1d18618e7159
diff --git a/.waf-tools/default-compiler-flags.py b/.waf-tools/default-compiler-flags.py
index c35c2fe..600f260 100644
--- a/.waf-tools/default-compiler-flags.py
+++ b/.waf-tools/default-compiler-flags.py
@@ -19,7 +19,7 @@
if conf.options.use_cxx11:
defaultFlags += ['-std=c++0x', '-std=c++11']
else:
- defaultFlags += ['-std=c++03']
+ defaultFlags += ['-std=c++03', '-Wno-variadic-macros', '-Wno-c99-extensions']
defaultFlags += ['-Wall', '-Wno-long-long', '-Wno-unneeded-internal-declaration',
'-Wno-c++11-extensions', '-Wno-nested-anon-types']