faust icon indicating copy to clipboard operation
faust copied to clipboard

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

Open Pri-yan-shu opened this issue 8 months ago • 1 comments

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.

Pri-yan-shu avatar Feb 13 '25 14:02 Pri-yan-shu