diff --git a/CMakeLists.txt b/CMakeLists.txt index 49f85002..d1041c95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,6 +89,7 @@ else() add_definitions(/Za) elseif(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")) add_definitions(-pedantic) + add_definitions(-pedantic) endif() endif() diff --git a/glm/detail/type_vec1.hpp b/glm/detail/type_vec1.hpp index fe55cd22..dff3140d 100644 --- a/glm/detail/type_vec1.hpp +++ b/glm/detail/type_vec1.hpp @@ -30,7 +30,7 @@ namespace glm # if GLM_HAS_ALIGNED_TYPE # if GLM_COMPILER & GLM_COMPILER_GCC # pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wpedantic" +# pragma GCC diagnostic ignored "-pedantic" # endif # if GLM_COMPILER & GLM_COMPILER_CLANG # pragma clang diagnostic push diff --git a/glm/detail/type_vec2.hpp b/glm/detail/type_vec2.hpp index 331782dd..718919e4 100644 --- a/glm/detail/type_vec2.hpp +++ b/glm/detail/type_vec2.hpp @@ -29,7 +29,7 @@ namespace glm # if GLM_HAS_ALIGNED_TYPE # if GLM_COMPILER & GLM_COMPILER_GCC # pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wpedantic" +# pragma GCC diagnostic ignored "-pedantic" # endif # if GLM_COMPILER & GLM_COMPILER_CLANG # pragma clang diagnostic push diff --git a/glm/detail/type_vec3.hpp b/glm/detail/type_vec3.hpp index f90ad3c6..79d9ee32 100644 --- a/glm/detail/type_vec3.hpp +++ b/glm/detail/type_vec3.hpp @@ -29,7 +29,7 @@ namespace glm # if GLM_HAS_ALIGNED_TYPE # if GLM_COMPILER & GLM_COMPILER_GCC # pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wpedantic" +# pragma GCC diagnostic ignored "-pedantic" # endif # if GLM_COMPILER & GLM_COMPILER_CLANG # pragma clang diagnostic push diff --git a/glm/gtc/quaternion.hpp b/glm/gtc/quaternion.hpp index 6a42bdf3..fee13db7 100644 --- a/glm/gtc/quaternion.hpp +++ b/glm/gtc/quaternion.hpp @@ -43,7 +43,7 @@ namespace glm # if GLM_HAS_ALIGNED_TYPE # if GLM_COMPILER & GLM_COMPILER_GCC # pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wpedantic" +# pragma GCC diagnostic ignored "-pedantic" # endif # if GLM_COMPILER & GLM_COMPILER_CLANG # pragma clang diagnostic push