[Bug c++/66781] New: "confused by earlier errors, bailing out" with wrong enum within class

2015-07-06 Thread deni_ at hotmail dot fr
ty: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: deni_ at hotmail dot fr Target Milestone: --- The following code makes the compiler crash with gcc5.1 and 6,0 at least. Removing `public' still makes the compiler c

[Bug c++/64643] New: bad location for multiple fields in union initialized

2015-01-17 Thread deni_ at hotmail dot fr
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: deni_ at hotmail dot fr For the following snipet of code --- class a { union { bool b = false; bool f = false; }; }; -- with gcc 5.0 I get this warning: ./test.c:4:3: error: multiple