[cfe-commits] [Request for approval] Parentheses around address non-type template argument

Douglas Gregor dgregor at apple.com
Sun Sep 12 16:00:08 PDT 2010

On Sep 12, 2010, at 5:00 AM, Abramo Bagnara wrote:

> Hello.
> With reference to this message
>     http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-August/010372.html
> here is a tentative patch that demotes the error into an extension
> warning when in C++98/03 mode (no error if in C++0x mode) and also
> modifies the diagnostic message to use the same wording used in core
> issue 773, i.e., "address non-type template argument":
>   address non-type template argument cannot be surrounded by parentheses
> OK to commit?

Yes, please go ahead. Thanks!

	- Doug

More information about the cfe-commits mailing list