[Bug c/88477] Variable with type completed in initializer not allowed.

anders.granlund.0 at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Dec 16 22:39:00 GMT 2018


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

--- Comment #4 from Anders Granlund <anders.granlund.0 at gmail dot com> ---
In general the standard seems to be a bit inprecise when it talks about types
beeing complete.

The same type may be incomplete at one point in the program, but complete at
another point. The standard should always specify at what point in the program
a type needs to be complete when it requires it to be complete.

I will file a defect report about that instead.


More information about the Gcc-bugs mailing list