Hi, trying to compile under macOS Mojave from the current
dev tip and getting this error:
RawTherapee/rtengine/rcd_demosaic.cc:192:44: error: value of type '__attribute__((__vector_size__(4 * sizeof(int)))) int' (vector of 4 'int' values) is not contextually convertible to 'bool' const vfloat VH_Disc = (vabsf(0.5f - VH_Central_Value) < vabsf(0.5f - VH_Neighbourhood_Value)) ? VH_Neighbourhood_Value : VH_Central_Value; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The build command I’m using is the one listed in RawPedia - MacOS. Initially I was trying to build with a newer version of llvm and clang. To rule out the compiler incompatibility I’ve installed llvm@8 (8.0.1) but the issue was still there.
The line in question was introduced by a fairly recent commit 33c5d6a (Sep, 3 2020). I’ve switched to the immediately preceding commit and was able to build fine, both with llvm@8 and the system clang 11.0.0.
Am I missing something? Any pointers would be appreciated.
The commands and the output logs are available here.