remove -Wundef for code we don't maintain & generated code.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 6 Sep 2011 13:00:46 +0000 (13:00 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 6 Sep 2011 13:00:46 +0000 (13:00 +0000)
build_files/cmake/macros.cmake

index 58938c8..d09215d 100644 (file)
@@ -392,6 +392,7 @@ macro(remove_strict_flags)
                remove_flag("-Wstrict-prototypes")
                remove_flag("-Wunused-parameter")
                remove_flag("-Wwrite-strings")
+               remove_flag("-Wundef")
                remove_flag("-Wshadow")
                remove_flag("-Werror=[^ ]+")
                remove_flag("-Werror")