Deprecate C++98 to 14

This commit is contained in:
christophe
2025-10-15 10:20:54 +02:00
committed by Christophe
parent b0a359c6f3
commit cfec72509a
14 changed files with 285 additions and 148 deletions

View File

@@ -14,11 +14,10 @@ struct vec2
x(0), y(0)
{}
#if defined(_MSC_VER)
#if (GLM_COMPILER & GLM_COMPILER_VC)
# pragma warning(push)
# pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union
#endif
#if GLM_COMPILER & GLM_COMPILER_CLANG
#elif (GLM_COMPILER & GLM_COMPILER_CLANG)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
# pragma clang diagnostic ignored "-Wnested-anon-types"
@@ -30,11 +29,10 @@ struct vec2
struct { swizzleStruct xx; };
};
#if GLM_COMPILER & GLM_COMPILER_CLANG
# pragma clang diagnostic pop
#endif
#if defined(_MSC_VER)
#if (GLM_COMPILER & GLM_COMPILER_VC)
# pragma warning(pop)
#elif (GLM_COMPILER & GLM_COMPILER_CLANG)
# pragma clang diagnostic pop
#endif
};
#endif