Skip to content

CWG3008 [diff.dcl] Incompatibility with C on declaration of "void object" #682

Description

@frederick-vs-ja

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions