Skip to content

unnamed enum issue on macos #1

@kcking

Description

@kcking

When using vst3-bindgen in a blank project, i get the following compilation error:

error: expected identifier, found `(`
  --> /Users/.../target/debug/build/vst3-bindgen-2dd1585f0690fcd4/out/bindings.rs:25:14
   |
25 |     pub type (unnamed enum at /Users/.../vst3sdk/pluginterfaces/base/funknown.h:189:1) = ::std::ffi::c_int;
   |              ^ expected identifier

It appears the unnamed enum is actually named (unnamed enum at /Users/.../vst3sdk/pluginterfaces/base/funknown.h:189:1) instead of being the empty string.

llvm 16.0.4 (installed with brew)
vst3sdk v3.7.7_build_19
macOS

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