Consider the one-liner C++ 'program':

template <class... args> struct pack;

With the trunk, g++ -c [-std=gnu++98] gives:

warning: variadic templates only available with -std=c++0x or -std=gnu++0x

Should this not be an *error* instead? Variadic templates really should not be 
supported in non-c++0x mode.

If not, how can I explicitly disable support for variadic templates? (The 
present behaviour frustrates some of our local autoconf tests.)

Should I file a bug report?

Regards, Jan van Dijk.

Reply via email to