[Bug c++/57682] New: Uniform initialization syntax rejected in function-try-block
webrown.cpp at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Jun 23 07:15:00 GMT 2013
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.
More information about the Gcc-bugs
mailing list