https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103746
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- MSVC error: <source>(12): error C3615: constexpr function 'mat3::mat3' cannot result in a constant expression <source>(12): note: failure was caused by call of undefined function or one not declared 'constexpr' <source>(12): note: see usage of 'vec3::operator =' As mentioned -fimplicit-constexpr will workaround the issue really.