Closed wtholliday closed 3 years ago
Thanks for the report, we're investigating.
This turns out to be because our code uses inline constexpr statics, which is a C++17 feature. if you recompile with your compiler set to C++17 or later then it should work fine.
I'm going to add a check to the generated code so that it fails for < C++17 to avoid any confusion, and we'll also sort out the version number, thanks for flagging that!
I'm getting a link error when compiling with clang/osx for the DiodeClipper example.
When I move the definition of
Diode::parameters
to a cpp file, it links.Diode::parameters
is a constexpr so I would have expected it to only need a definition in the class, unlike a normal static variable.Also, the code generated by 1.0.82 says 0.9.0 at the top. I've double-checked that I'm running 1.0.82: