This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
2009/3/10 Sylvain Pion <Sylvain.Pion@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.
Sure. It just forces you to have additional compiler-specific flags in your configuration system.
-- Sylvain Pion INRIA Sophia-Antipolis Geometrica Project-Team CGAL, http://cgal.org/
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |