value of type '__attribute__((__vector_size__(4 * sizeof(int)))) int' (vector of 4 'int' values) is not contextually convertible to 'bool'
Issue #145
resolved
clang-10 fails to compile ART:
/wrkdirs/usr/ports/graphics/art/work/agriggio-art-b2d77c8f0080/rtengine/rcd_demosaic.cc:195: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;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rev. b2d77c8f0080
Comments (2)
-
reporter -
reporter - changed status to resolved
Not a bug.
- Log in to comment
This was for the older clang-8, sorry.
Please close it.