On 16.03.2012, at 02:42, Richard Smith wrote:

> On Thu, Mar 15, 2012 at 6:04 PM, Eli Friedman <[email protected]> wrote:
> On Wed, Mar 14, 2012 at 8:54 AM, Sebastian Redl
> <[email protected]> wrote:
> > Author: cornedbee
> > Date: Wed Mar 14 10:54:00 2012
> > New Revision: 152721
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=152721&view=rev
> > Log:
> > Parse brace initializers as default arguments. PR12236.
> >With this change, we accept "int f(int a = {1});" in C++98 mode
> without a warning.  That seems wrong.
> 
> We should also produce a -Wc++98-compat warning for this in C++11 mode.

Maybe I shouldn't write code when sick ...

Sebastian
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to