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:
parent
a39a9b8eb9
commit
1df01f6b10
@ -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…
x
Reference in New Issue
Block a user