You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Full name of submitter (unless configured in github; will be published with the issue): Jiang An
Reference (section label): [diff.dcl]
Link to reflector thread (if any):
Issue description:
CWG2475 clarified that a non-defining declaration of (non-existent) void object like extern void x; is ill-formed. But WG14 N3409 seemed to confirmed that such declaration is valid in C.
Should we add an entry in [diff.dcl] for this?
Suggested resolution:
The text was updated successfully, but these errors were encountered:
jensmaurer
changed the title
[diff.dcl] Incompatibility with C on declaration of "void object"
CWG3008 [diff.dcl] Incompatibility with C on declaration of "void object"
Mar 14, 2025
Full name of submitter (unless configured in github; will be published with the issue): Jiang An
Reference (section label): [diff.dcl]
Link to reflector thread (if any):
Issue description:
CWG2475 clarified that a non-defining declaration of (non-existent)
void
object likeextern void x;
is ill-formed. But WG14 N3409 seemed to confirmed that such declaration is valid in C.Should we add an entry in [diff.dcl] for this?
Suggested resolution:
The text was updated successfully, but these errors were encountered: