Commit 4af96f9f by Douglas Gregor Committed by Doug Gregor

error.c (maybe_warn_variadic_templates): Variadic templates are now in C++0x, so…

error.c (maybe_warn_variadic_templates): Variadic templates are now in C++0x, so only warn about them in C++98 mode.

2007-04-27  Douglas Gregor  <doug.gregor@gmail.com>

	* error.c (maybe_warn_variadic_templates): Variadic templates are
       now in C++0x, so only warn about them in C++98 mode.

From-SVN: r124221
parent 48f46219
2007-04-27 Douglas Gregor <doug.gregor@gmail.com>
* error.c (maybe_warn_variadic_templates): Variadic templates are
now in C++0x, so only warn about them in C++98 mode.
2007-04-26 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR C++/30016
......
......@@ -2528,7 +2528,7 @@ cp_cpp_error (cpp_reader *pfile ATTRIBUTE_UNUSED, int level,
void
maybe_warn_variadic_templates (void)
{
if ((!flag_cpp0x || flag_iso) && !in_system_header)
if (!flag_cpp0x && !in_system_header)
/* We really want to suppress this warning in system headers,
because libstdc++ uses variadic templates even when we aren't
in C++0x mode. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment