Updated the message: Visual C++ has a bug generating the error: fatal error C1001: An internal error has occurred in the compiler.

master
Christophe Riccio ago%!(EXTRA string=8 years)
parent a39a9b8eb9
commit 1df01f6b10
  1. 8
      test/bug/bug_ms_vec_static.cpp

@ -1,12 +1,8 @@
#define GLM_FORCE_SWIZZLE #define GLM_FORCE_SWIZZLE
#include <glm/vec2.hpp> #include <glm/vec2.hpp>
struct Foo // Visual C++ has a bug generating the error: fatal error C1001: An internal error has occurred in the compiler.
{ glm::vec2 const Bar(1.f, 1.f);
static glm::vec2 Bar;
};
glm::vec2 Foo::Bar = glm::vec2(1.f, 1.f);
int main() int main()
{ {

Loading…
Cancel
Save