diff --git a/src/Math/instantiation.cpp b/src/Math/instantiation.cpp index 99a20d760..dcaaaa601 100644 --- a/src/Math/instantiation.cpp +++ b/src/Math/instantiation.cpp @@ -52,21 +52,33 @@ template struct ConfigurationValue>; #endif +/* For some reason mingw's GCC instantiates ConfigurationValue> + (which depends on ConfigurationValue) before + these and then loudly complains about multiple definitions. WTF. */ + template struct ConfigurationValue>; template struct ConfigurationValue>; +#ifndef _WIN32 template struct ConfigurationValue>; +#endif template struct ConfigurationValue>; template struct ConfigurationValue>; +#ifndef _WIN32 template struct ConfigurationValue>; +#endif template struct ConfigurationValue>; template struct ConfigurationValue>; +#ifndef _WIN32 template struct ConfigurationValue>; +#endif #ifndef MAGNUM_TARGET_GLES template struct ConfigurationValue>; template struct ConfigurationValue>; +#ifndef _WIN32 template struct ConfigurationValue>; #endif #endif +#endif }}