Forráskód Böngészése

Fixed GCC warnings.

Branimir Karadžić 10 éve
szülő
commit
c92bff06bb
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      3rdparty/ocornut-imgui/imgui.cpp

+ 2 - 0
3rdparty/ocornut-imgui/imgui.cpp

@@ -353,6 +353,8 @@
 #endif
 #endif
 #ifdef __GNUC__
 #ifdef __GNUC__
 #pragma GCC diagnostic ignored "-Wunused-function"          // warning: 'xxxx' defined but not used
 #pragma GCC diagnostic ignored "-Wunused-function"          // warning: 'xxxx' defined but not used
+#pragma GCC diagnostic ignored "-Wunused-parameter"         // warning: unused parameter ‘xxxx’
+#pragma GCC diagnostic ignored "-Wtype-limits"              // warning: comparison is always true due to limited range of data type
 #endif
 #endif
 
 
 //-------------------------------------------------------------------------
 //-------------------------------------------------------------------------