This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51689] GCC apparently is inconsistent with warning about invalid brace-elision use
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Jun 2015 15:48:57 +0000
- Subject: [Bug c++/51689] GCC apparently is inconsistent with warning about invalid brace-elision use
- Auto-submitted: auto-generated
- References: <bug-51689-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51689
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to work| |4.9.0, 5.0
Resolution|--- |WORKSFORME
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
I think nothing is left to fix here: we reject the former and warn with
-Wmissing-braces for the latter (modulo the spurious open curly brace).
Likewise current clang and edg.