From 85ff3cfde32fe1614d93071f6a866bf797b4d12f Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Wed, 7 Oct 2015 07:28:46 -0700 Subject: [PATCH] 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. --- src/vulkan/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 \ -- 2.30.2