|
 |
On 5/14/25 18:17, Mr wrote:
> William F Pokorny <ano### [at] anonymous org> wrote:
>> Please see the attached tarballs, previous announcements in this forum
>> and INSTALL.txt for suggestions on compiling and running via wrapper script.
>
> thanks ! I followed the install.txt and...
>
> * it did compile and check on my Ubuntu 24.04 !
>
> *Less so on my Intel Mac OS Big Sur 11.7.10
>
> there a) I had to compile with CXXFLAGS="-std=c++17 -O2" but even then, I got an
> error:
>
> CXX vm/fnintern.o
> vm/fnintern.cpp:5483:29: error: constexpr variable 'tmpPow2_52' must be
> initialized by a constant expression
> static constexpr double tmpPow2_52 = std::pow(2.0,52.0);
> ^ ~~~~~~~~~~~~~~~~~~
>
> And before that a warning:
> parser/parser_expressions.cpp:2993:13: warning: enumeration value
> 'kBlendMapType_Slope' not handled in switch [-Wswitch]
> switch (Blend_Type)
> ^
>
> these warning happen both with Xcode 13.2.1 and brew installed gcc-14
>
Thanks for the information!
I had some trouble between g++ and clang++ too with what is considered a
valid constexpr; g++ tends to allow more. I'll put that usage on the
list to change to something more basic.
I'm aware of the kBlendMapType_Slope warning. I'm buried in my attempt
at alternate options parsing at the moment, but IIRC there is some funky
stuff going due there traditionally being a couple of blendmap set ups.
One for normal perturbations (blendmap.h ?) and another for value
patterns. They are now both 'sort of' merged in the current pattern.h
pattern.cpp and parsing implementations.
I think the merge (at v3.7 I'd guess) is why there are some commented
entries and an odd value set up in blendmap.h - some enumeration values
are skipped. I looked at it once, but couldn't get my head around a
clean way to sort it in the time I was willing to spend. With the
warning there, things are not really broken as I see it - though
admittedly not pretty.
Bill P.
Post a reply to this message
|
 |