[Bug c/102821] Tentative definition of variable with internal linkage has incomplete non-array type: missing diagnostics

pavel.morozkin at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 18 21:51:55 GMT 2021


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

--- Comment #2 from Pavel M <pavel.morozkin at gmail dot com> ---
Addition to "Notes" above.

3. C11, 5.1.1.3 Diagnostics, 1:
> A conforming implementation shall produce at least one diagnostic message (identified in an implementation-defined manner) if a preprocessing translation unit or translation unit contains a violation of any syntax rule or constraint, even if the behavior is also explicitly specified as undefined or implementation-defined.


More information about the Gcc-bugs mailing list