vk: Drop -Wextra
authorChad Versace <chad.versace@intel.com>
Wed, 7 Oct 2015 14:28:46 +0000 (07:28 -0700)
committerChad Versace <chad.versace@intel.com>
Wed, 7 Oct 2015 14:28:46 +0000 (07:28 -0700)
Eliminates lots of warnings due to anv_meta.c's inclusion of nir.h.

I like the extra warnings, and they should probably get fixed. However,
git-grep reveals that no other Mesa directory uses -Wextra. Building
Vulkan produces a lot of compiler warnings from core Mesa headers that
no other Mesa developer sees, and hence no other Mesa developer will
fix.

src/vulkan/Makefile.am

index eebe54d9475e94de6e5f34a87b11f3eacfa655ee..0d0abd27300c7591d445cce87686cf190c00b008 100644 (file)
@@ -51,11 +51,11 @@ AM_CPPFLAGS = \
        -I$(top_builddir)/src/vulkan
 
 libvulkan_la_CFLAGS =                                                  \
-       -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -O0 -g  \
+       -Wall -Wno-unused-parameter -fvisibility=hidden -O0 -g          \
        -Wstrict-prototypes -Wmissing-prototypes -Wno-override-init
 
 libvulkan_la_CXXFLAGS =                                                        \
-       -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -O0 -g
+       -Wall -Wno-unused-parameter -fvisibility=hidden -O0 -g
 
 VULKAN_SOURCES =                                        \
        anv_allocator.c                                 \