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

This commit is contained in:
Christophe Riccio 2017-01-04 22:54:15 +01:00
parent a39a9b8eb9
commit 1df01f6b10

View File

@ -1,12 +1,8 @@
#define GLM_FORCE_SWIZZLE
#include <glm/vec2.hpp>
struct Foo
{
static glm::vec2 Bar;
};
glm::vec2 Foo::Bar = glm::vec2(1.f, 1.f);
// 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);
int main()
{