This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] |
This patch addresses PR c++/20599 by introducing support for variadic templates:
Doug Gregor Open Systems Lab @ Indiana University
PR c++/20599 * c-common.c (warn_variadic_templates): New. * c-common.h (warn_variadic_templates): Declare. * c-cppbuiltin.c (c_cpp_builtins): Define __VARIADIC_TEMPLATES when we aren't complaining about them. * c-opts.c (c_common_handle_option): Handle -W(no-)variadic-templates. (c_common_post_options): By default, do warn about variadic templates. * c.opt: Add -W(no-)variadic templates. * doc/cpp.texi: Document __VARIADIC_TEMPLATES macro. * doc/invoke.texi: Document -W(no-)variadic-templates.
Attachment:
vt-gcc-trunk-v2.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |