https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67423
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to sl from comment #0) > If I have a test file consisting of > > #include <printf.h> > > and I do "gcc -c -O1 <test file>", the compile fails with > > /usr/include/printf.h:116:68: error: expected initializer before âthrowâ > /usr/include/printf.h:122:70: error: expected initializer before âthrowâ Also, please provide a proper (i.e. complete) test case and the real command, not an approximation and a modified command including placeholders like "<test file>" > are the wrong way round or gcc is not sufficiently tolerant on ordering here. My glibc headers have the same declaration and it compiles fine with all versions of GCC I tried.