[Bug c++/86743] Compilation failure when initializing POD structs containing constant member
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86743 --- Comment #2 from Lance Roy --- Even though it is no longer the default, it is still incorrect to error in C++03 mode. Note that "clang++ -std=c++03" compiles this without error.
[Bug c++/86743] New: Compilation failure when initializing POD structs containing constant member
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ldr709 at gmail dot com Target Milestone: --- With this code: struct A { int i; const int b; }; // The union is to verify that A is a type that can be used in a