This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57682] New: Uniform initialization syntax rejected in function-try-block
- From: "webrown.cpp at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 23 Jun 2013 07:14:52 +0000
- Subject: [Bug c++/57682] New: Uniform initialization syntax rejected in function-try-block
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57682
Bug ID: 57682
Summary: Uniform initialization syntax rejected in
function-try-block
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: webrown.cpp at gmail dot com
Created attachment 30342
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30342&action=edit
Source file demonstrating issue
Compiling via:
g++-mp-4.9 -std=gnu++1y -c bug.cc
Using version:
g++-mp-4.9 (MacPorts gcc49 4.9-20130616_0) 4.9.0 20130616 (experimental)
Using paren's to initialize a data member will compile successfully, but using
braces in their place produces a diagnostic. Define/undefine the OOPS macro in
the attachment to reproduce failure/success.