tools/imgui: disable all warnings
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 30 Oct 2018 19:01:21 +0000 (19:01 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 31 Oct 2018 16:28:33 +0000 (16:28 +0000)
This is an external project we have no control over, and will not be
fixing (other than by sometimes pulling the latest sources), so warnings
serve no purpose here.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/imgui/meson.build

index 8d6f37d..d714d03 100644 (file)
@@ -1,6 +1,7 @@
 libintel_imgui_core = static_library(
   'intel_imgui_core',
   files('imgui.cpp', 'imgui_demo.cpp', 'imgui_draw.cpp'),
+  cpp_args : ['-w'],
   install: false
 )
 
@@ -13,7 +14,7 @@ libintel_imgui_gtk = static_library(
   'intel_imgui_gtk',
   files('imgui_impl_gtk3.cpp', 'imgui_impl_opengl3.cpp'),
   dependencies : libintel_imgui_gtk_deps,
-  cpp_args : ['-Wno-deprecated-declarations', '-Wno-parentheses'],
+  cpp_args : ['-w'],
   install: false
 )