From de77fadde280ef9db252e93eb67bcf99b0d27133 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 17 Jul 2016 10:56:27 +0200 Subject: [PATCH] Fixed long long warnings --- glm/detail/func_integer.inl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/glm/detail/func_integer.inl b/glm/detail/func_integer.inl index 7d89bfe2..25910eb0 100644 --- a/glm/detail/func_integer.inl +++ b/glm/detail/func_integer.inl @@ -12,11 +12,13 @@ #endif//(GLM_ARCH & GLM_ARCH_X86 && GLM_COMPILER & GLM_COMPILER_VC) #include -#if GLM_COMPILER & GLM_COMPILER_GCC -# pragma GCC diagnostic ignored "-Wlong-long" -#endif -#if (GLM_COMPILER & GLM_COMPILER_CLANG) -# pragma clang diagnostic ignored "-Wc++11-long-long" +#if !GLM_HAS_EXTENDED_INTEGER_TYPE +# if GLM_COMPILER & GLM_COMPILER_GCC +# pragma GCC diagnostic ignored "-Wlong-long" +# endif +# if (GLM_COMPILER & GLM_COMPILER_CLANG) +# pragma clang diagnostic ignored "-Wc++11-long-long" +# endif #endif namespace glm{