Am 03.12.21 um 13:13 schrieb Ichthyostega:
Just a guess: maybe Clang is overly picky here,
seems like Clang is really picky here, but likely more conformant
to the written standard. Have found various discussions in the
net pointing out that GCC allows more leeway here, but this is
considered a "non-standard-extension".
In our case, in fact we do not need a constexpr (guaranteed
compile time evaluation), since we're initialising a static variable.
I added the "constexpr" just to be able to have the code inline and
in the header, for sake of readability.
So now the we are faced with the irksome question: where the hell
shall we place that damned initialiser? Is it OK to introduce a
NumericFuncs.cpp ? Since that would be the obvious place..
-- Hermann
_______________________________________________
Yoshimi-devel mailing list
Yoshimi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel