Closed hnnswldschtz closed 8 months ago
Hey @hnnswldschtz , thanks for the information!
Looks like the problem is that I didn't give a string message in my static_assert
s when I upgraded this library to 4.0. That's legal in C++17 which is the default for the arduino IDE but I guess your compiler is using the C++11 standard.
I'll push some changes to fix that soon but in the meantime if you can configure your project to use a C++17 compiler, then the error message should go away
Hope that helps!
Hey @tomstewart89 thanks for your fast reply!
You are totally right.
For my PIO setup, I added a string message as a second argument to thestatic_assert()
in the NotSoBasicLinearAlgebra.h and everything seems to work fine. Compiling with the arduino IDE works too.
thanks again!
Sorry for the delay! This should be fixed in v4.3
Hi, really thanks for your work and time on this great Library!
Im working on an ESP32 codebase. Even if there is hardly nothing to compile in main (its the PIO init template, see below), this compiler error happens since 4.0. in 3.7 the compiler went thru. I use VS code with the platform IO plugin.
compiled test code:
compiler error in 4.0/4.1: