This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug c++/53333] Initializer lists in std=c++03 mode must be an error


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53333

--- Comment #6 from Fernando Pelliccioni <fpelliccioni at gmail dot com> 2012-05-12 23:53:30 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> > For other features of C++11 don't need -pedantic-errors to emit an error.
> [...]
> > It doesn't seem consistent.
> > What is the criteria?
> 
> Allowing {} is a rather isolated extension that doesn't interfere much with
> anything. Rvalue reference is perhaps the worst example you could pick as it
> changes the behavior all over the place and can easily break code. I don't know
> if there are official criteria, the choices may be questionable, but I don't
> see that it matters that much...

I got it. Thanks!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]