https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66847

--- Comment #5 from DB <db0451 at gmail dot com> ---
Another note is that, as per the other tickets, G++ seems to have multiple
possible causes of its confusion with brace-init:
* presence of virtual base in class hierarchy
* signature of calling class ctor vs base ctor
* presence/absence of member variables
* possible more...?

Hopefully it points at a single cause that can be fixed fairly easily. As
currently we have to selectively regress certain parts of our source, to work
around G++, and add large comments explaining the inconsistency, which is far
from ideal. It's also conceivable that certain situations couldn't be worked
around by replacing the bracket type, though thankfully we've not had that yet.

Cheers,
D.

Reply via email to