On Tue, Mar 10, 2009 at 7:57 AM, Manuel López-Ibáñez <lopeziba...@gmail.com> wrote: > 2009/3/10 Sylvain Pion <sylvain.p...@sophia.inria.fr>: >>> >>> But then probably, variadic templates are implemented as a GCC >>> extension to C++98 and they work fine with -std=c++98 despite what the >>> warning says. Or don't they? >> >> Yes, but like any extension, it's nice to be able to disable them >> as errors, so as to be able to use GCC for checking code portability. > > So use -pedantic-errors as it says in the manual. You should really > use -pedantic-erros if you do not want extensions.
Except that -pedantic-errors does not turn only variadic template warnings into errors.