I’m working on rust-lv2, a Rust library that provides an idiomatic framework for LV2 Plugins. One part of the library is the binding of the C API. This is generated using bindgen every time the library is built, which internally uses Clang to analyze the headers.
This works perfectly on Linux, MacOS, and my local Windows machine, but not on Travis CI’s Windows machines; The compiler complains about malformed headers from MSVC. I was not able to change anything about that or reproduce it on my system, which is why I’m posting it here. The errors I’m talking about are found, for example, in this build of this commit; All required information is found there.
What does this mean? I must admit that I’m more into Linux than into Windows and don’t quite know how this all works together. Is this a known error or is that due to the special Rust/Bindgen/MSVC/Clang relationship? Nonetheless, this an error that should be fixed and may be fixable, since it works fine on Linux and MacOS.