ardupilot/Tools/ardupilotwaf
Lucas De Marchi f0277cecb4 waf: ignore -Wundef for gtest
The gtest header uses lots of undefined macros, showing lots of warnings
if we enable -Wundef. Ideally we could use a #pragma to ignore the
warning only from the correct header, but this currently doesn't work
with g++ - see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431

So for now we disable the warning completely when compiling gtest or any
test that uses its header.

Thanks Gustavo Sousa
2016-02-19 12:34:24 -02:00
..
__init__.py waf: add waf support 2015-12-03 07:54:30 +11:00
ardupilotwaf.py waf: ignore -Wundef for gtest 2016-02-19 12:34:24 -02:00
boards.py waf: boards: use classes for boards definition 2016-02-18 14:33:46 -02:00
gbenchmark.py waf: use git_submodule tool through GIT_SUBMODULES variable 2016-02-06 10:25:08 -02:00
git_submodule.py waf: git_submodule: override uid() 2016-02-11 17:08:35 -02:00
gtest.py waf: ignore -Wundef for gtest 2016-02-19 12:34:24 -02:00
mavgen.py waf: use git_submodule tool through GIT_SUBMODULES variable 2016-02-06 10:25:08 -02:00
static_linking.py waf: add static_linking tool 2016-01-11 16:31:59 -02:00
toolchain.py waf: add toolchain tool for cross-compiling 2016-01-11 16:31:59 -02:00