Skip to content

Wrong error message when using C _Generic selection #5704

@SPAstef

Description

@SPAstef

Hi,
whenever I use a structure as the argument of a generic selection, the intellisense engine reports error "type must be an object type" (I assume it means a scalar type?), but the code is completely legal in standard C11 and compiles and works with no problems.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServiceVisual StudioInherited from Visual StudiobugfixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions