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++/25137] Warning "missing braces around initializer" causing problems with tr1::array


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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #17 from Jason Merrill <jason at gcc dot gnu.org> 2012-05-26 21:21:51 UTC ---
Hmm.  I see the argument, but it seems to me that the purpose of
-Wmissing-braces is precisely to warn about this sort of thing.  Perhaps it
just shouldn't be part of -Wall in C++ mode, particularly in C++11 since
initializer lists are a lot more flexible now.


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