From 1df01f6b109f0b342b1bc1ee1b1fbe8ab69cea25 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 4 Jan 2017 22:54:15 +0100 Subject: [PATCH] Updated the message: Visual C++ has a bug generating the error: fatal error C1001: An internal error has occurred in the compiler. --- test/bug/bug_ms_vec_static.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/bug/bug_ms_vec_static.cpp b/test/bug/bug_ms_vec_static.cpp index 812d97b3..06390235 100644 --- a/test/bug/bug_ms_vec_static.cpp +++ b/test/bug/bug_ms_vec_static.cpp @@ -1,12 +1,8 @@ #define GLM_FORCE_SWIZZLE #include -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() {