Mesa (master): tools/imgui: disable all warnings

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 31 16:29:27 UTC 2018


Module: Mesa
Branch: master
Commit: 455a3cd515a1a0633dd4f7c83552351462bec6cb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=455a3cd515a1a0633dd4f7c83552351462bec6cb

Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Tue Oct 30 19:01:21 2018 +0000

tools/imgui: disable all warnings

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 at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

---

 src/intel/tools/imgui/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/intel/tools/imgui/meson.build b/src/intel/tools/imgui/meson.build
index 8d6f37d4b3..d714d032f6 100644
--- a/src/intel/tools/imgui/meson.build
+++ b/src/intel/tools/imgui/meson.build
@@ -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
 )
 




More information about the mesa-commit mailing list