title: GLM on compile breeds a ton of errors
body: <p>I include some GLM files into my code, and I receive a ton of errors (at least 90 of them). Why this is happening, I have no idea. I am using the latest GLM (0.9.3.3 at the time of this writing). I am also using Qt Creator on Windows, with a QMake file you'll see.</p>
  
  <p>I should also note that I ended up copying the glm folder to my include directory reciding in my mingw folder.</p>
  
  <p>What can I do to fix this?</p>
  
  <p><strong>QMake</strong></p>
  
  <pre><code>CONFIG += console
  
  HEADERS += \
      util.hpp \
      ShaderComparable.hpp \
      SearchTree.hpp \
      FileUtility.hpp \
      Debug.hpp \
      ShaderHandler.hpp \
      Shader.hpp \
      Testing.hpp \
      Sphere.hpp \
      Shape.hpp \
      Circle.hpp \
      Maths.hpp
  
  SOURCES += \
      util.cpp \
      ShaderComparable.cpp \
      SearchTree.inl \
      Main.cpp \
      FileUtility.cpp \
      Debug.cpp \
      ShaderHandler.cpp \
      Testing.cpp \
      Sphere.cpp \
      Shape.cpp \
      Circle.cpp
  
  win32:LIBS += -llibEGL -llibGLESv2
  unix: LIBS += -lEGL -lGLESv2
  
  QMAKE_CXXFLAGS += -std=c++0x -U__STRICT_ANSI__
  </code></pre>
  
  <p><strong>Errors</strong></p>
  
  <pre><code>c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp: In instantiation of 'glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;':
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:82:   instantiated from 'glm::detail::tvec4&lt;glm::detail::half&gt;'
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./gtc/swizzle.hpp:114:   instantiated from here
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:79: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::r' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:79: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::r' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:79: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::g' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:79: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::g' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:79: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::b' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:79: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::b' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:79: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::a' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:79: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::a' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:80: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::s' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:80: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::s' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:80: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::t' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:80: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::t' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:80: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::p' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:80: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::p' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:80: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::q' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:80: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::q' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:81: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::x' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:81: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::x' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:81: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::y' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:81: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::y' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:81: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::z' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:81: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::z' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:81: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::w' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec4.hpp:81: error: member 'glm::detail::half glm::detail::tvec4&lt;glm::detail::half&gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::w' with copy assignment operator not allowed in union
  mingw32-make.exe[1]: Leaving directory `C:/Programming/C++/Qt/qtesc/esc/Debug'
  In file included from c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type.hpp:40,
                   from c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/glm.hpp:97,
                   from ../esc/Maths.hpp:3,
                   from ../esc/Sphere.hpp:5,
                   from ../esc/Sphere.cpp:1:
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp: In instantiation of 'glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;':
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:82:   instantiated from 'glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;'
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./virtrev/xstream.hpp:92:   instantiated from here
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::r' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::r' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::r' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::g' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::g' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::g' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::b' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::b' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::b' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::s' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::s' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::s' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::t' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::t' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::t' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::p' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::p' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::p' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::x' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::x' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::x' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::y' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::y' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::y' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::z' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::z' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec3.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec3&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::z' with copy assignment operator not allowed in union
  In file included from c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type.hpp:39,
                   from c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/glm.hpp:97,
                   from ../esc/Maths.hpp:3,
                   from ../esc/Sphere.hpp:5,
                   from ../esc/Sphere.cpp:1:
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp: In instantiation of 'glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;':
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:82:   instantiated from 'glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;'
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./virtrev/xstream.hpp:92:   instantiated from here
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::r' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::r' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::r' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::g' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::g' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:79: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::g' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::s' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::s' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::s' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::t' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::t' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:80: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::t' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::x' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::x' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::x' with copy assignment operator not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::y' with constructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::y' with destructor not allowed in union
  c:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/glm/glm/./core/type_vec2.hpp:81: error: member 'std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; glm::detail::tvec2&lt;std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt; &gt;::&lt;anonymous union&gt;::&lt;anonymous struct&gt;::y' with copy assignment operator not allowed in union
  </code></pre>