Skip to content

Switching language to C does not change language standard #220

@ThadHouse

Description

@ThadHouse

Trying to parse a file as C just by using -x c results in the following error

  error: invalid argument '--std=c++17' not allowed with 'C'

ClangSharp should be smart enough to switch std to c17 when the language is switched to C.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions