https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65547
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Edward Diener from comment #0) > Instead gcc outputs the warning: > > "warning: ISO C99 requires rest arguments to be used". > > But since the compile is done with C++11 support the reference should be to > the C++11 standard Already fixed for GCC 5. v.c:2:21: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro > and an error should occur. That an error does not occur I > consider a bug. No, the standard doesn't require an error, it requires a diagnostic message. "If a program contains a violation of any diagnosable rule or an occurrence of a construct described in this Standard as “conditionally-supported” when the implementation does not support that construct, a conforming implementation shall issue at least one diagnostic message." A warning is a diagnostic message, ergo there is no bug. As Andrew pointed out, use -pedantic-errors (or -Werror=pedantic) if you want to turn such warnings into errors.