Skip to content

explain void &r in C mode gives two warnings instead of one #52

Description

@Quuxplusone
cdecl> explain void &r
Warning: Unsupported in C -- 'reference'
Warning: Unsupported in C -- 'reference to type void'
	(maybe you mean "pointer to void")
declare r as reference to void

Ideally this would suppress the former more generic warning and emit just the latter more specific warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions