diff --git a/src/Magnum/GL/Context.cpp b/src/Magnum/GL/Context.cpp index d86aa5b35..f1ad5c139 100644 --- a/src/Magnum/GL/Context.cpp +++ b/src/Magnum/GL/Context.cpp @@ -533,7 +533,13 @@ constexpr Extension ExtensionListES320[]{ }; #endif -constexpr struct { +#ifdef CORRADE_MSVC2015_COMPATIBILITY +/* MSVC 2015 ICEs in the loop below if this is constexpr. Don't, then. */ +const +#else +constexpr +#endif +struct { Version version; Containers::ArrayView extensions; } KnownExtensionsForVersion[]{