Skip to content

Faust passes invalid --class-name and --super-class-name identifiers to generated code #1120

Open
@Pri-yan-shu

Description

@Pri-yan-shu

Faust doesn't correctly modify --class-name and --super-class-name to valid c++ identifiers and generates uncompilable c++ code. Its bigger issue with faust2.. scripts using filename as classname, for instance faust2lv2, so filenames that are valid (for instance starting with a digit or containing hyphen) result in error during the compilation of the generated c++ code.

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