[Bug c++/120343] inconvenient order of error messages
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120343 --- Comment #2 from Andrew Pinski --- Only MSVC (which is usually bad when it comes to diagnostic issues) actually does a decent job at providing the good diagnostic here: (4): error C2187: syntax error: ']' was unexpected here (2): fatal error
[Bug c++/120343] inconvenient order of error messages
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120343 --- Comment #1 from Andrew Pinski --- Hmm, clang even has a similar issue in their diagnostic.