Просмотр исходного кода

Merge pull request #2493 from Kloen/killing-warnings-final-mix

video_core: silence unused-local-typedef boost related warnings on GCC
Yuri Kunde Schlesner 9 лет назад
Родитель
Сommit
1016e31fc7
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      src/video_core/renderer_opengl/gl_rasterizer_cache.h

+ 7 - 0
src/video_core/renderer_opengl/gl_rasterizer_cache.h

@@ -8,7 +8,14 @@
 #include <memory>
 #include <set>
 #include <tuple>
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-local-typedef"
+#endif
 #include <boost/icl/interval_map.hpp>
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
 #include <glad/glad.h>
 #include "common/assert.h"
 #include "common/common_funcs.h"