clang build issues

Issue #2 resolved
Former user created an issue

I am using clang-8 and ART doesnt' build.

The first issue in rtengine/badpixels.cc was fixed with this commit:

https://github.com/Beep6581/RawTherapee/commit/d3fb58a19c96fd88ef307f9691bc3e7ac506ff15#diff-ec2401f1ded342b4c2e17b1bd1253f3b

Then I run into this error:

../rtengine/ipbrightcontrsat.cc:99:17: error: address of vector element requested
STVF(tmpr[0], curve(LVF(rgb->r(i, j))));
^    ~~~~~~~
../rtengine/helpersse2.h:34:32: note: expanded from macro 'STVF'
#define STVF(x,y) _mm_store_ps(&x,y)
^~
../rtengine/ipbrightcontrsat.cc:100:17: error: address of vector element requested
STVF(tmpg[0], curve(LVF(rgb->g(i, j))));
^    ~~~~~~~
../rtengine/helpersse2.h:34:32: note: expanded from macro 'STVF'
#define STVF(x,y) _mm_store_ps(&x,y)
^~
../rtengine/ipbrightcontrsat.cc:101:17: error: address of vector element requested
STVF(tmpb[0], curve(LVF(rgb->b(i, j))));
^    ~~~~~~~
../rtengine/helpersse2.h:34:32: note: expanded from macro 'STVF'
#define STVF(x,y) _mm_store_ps(&x,y)
^~

which I can’t find a fix for. gcc-8.3 compiles just fine.

Comments (2)

  1. Log in to comment