[Bug c++/108204] pr84973-2.C fails with wrong error on mingw

2022-12-22 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108204 --- Comment #2 from nightstrike --- (In reply to Andrew Pinski from comment #1) > Try with -fno-ms-extensions or try -fms-extension on Linux. Hey, we have a winner! -fms-extension on Linux results in the bad error, and -fno-ms-extensions on mi

[Bug c++/108204] pr84973-2.C fails with wrong error on mingw

2022-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108204 --- Comment #1 from Andrew Pinski --- Try with -fno-ms-extensions or try -fms-extension on Linux.