From: Chad Versace Date: Wed, 7 Oct 2015 14:28:46 +0000 (-0700) Subject: vk: Drop -Wextra X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85ff3cfde32fe1614d93071f6a866bf797b4d12f;p=mesa.git vk: Drop -Wextra 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. --- diff --git a/src/vulkan/Makefile.am b/src/vulkan/Makefile.am index eebe54d9475..0d0abd27300 100644 --- a/src/vulkan/Makefile.am +++ b/src/vulkan/Makefile.am @@ -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 \