/Users/frohlif/Documents/projects/AMICI/src/misc.cpp:86:21: error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension]
86 | void* callstack[last_frame];
| ^~~~~~~~~~
/Users/frohlif/Documents/projects/AMICI/src/misc.cpp:86:21: note: initializer of 'last_frame' is not a constant expression
/Users/frohlif/Documents/projects/AMICI/src/misc.cpp:85:15: note: declared here
85 | int const last_frame = first_frame + maxFrames;
| ^
1 error generated.
make[2]: *** [CMakeFiles/amici.dir/src/misc.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/amici.dir/all] Error 2
with
Apple clang version 17.0.0 (clang-1700.0.13.3)
Target: arm64-apple-darwin24.4.0
Thread model: posix
unclear why this only crops up now, looks like clang 17 is 2 years old, maybe change in error policy?
with
unclear why this only crops up now, looks like clang 17 is 2 years old, maybe change in error policy?