mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 15:23:53 +00:00
gne
This commit is contained in:
parent
0cda1615b3
commit
bfb88b1360
1 changed files with 8 additions and 0 deletions
|
@ -17,6 +17,11 @@ struct vec2
|
|||
#if defined(_MSC_VER)
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union
|
||||
#endif
|
||||
#if GLM_COMPILER & GLM_COMPILER_CLANG
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
|
||||
# pragma clang diagnostic ignored "-Wnested-anon-types"
|
||||
#endif
|
||||
|
||||
union
|
||||
|
@ -25,6 +30,9 @@ struct vec2
|
|||
struct { _swizzle xx; };
|
||||
};
|
||||
|
||||
#if GLM_COMPILER & GLM_COMPILER_CLANG
|
||||
# pragma clang diagnostic pop
|
||||
#endif
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(pop)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue