Hi,
when building kdegraphics 4.4.3 on OpenSolaris with the Sun Studio 12U1 compiler, the code inherited from LibRaw fails to build saying:
...
"/.../srcdir/libs/libkdcraw/libraw/libraw/libraw_types.h", line 109: Error: "}" expected instead of "start of omp pragma".
"/.../srcdir/libs/libkdcraw/libraw/libraw/libraw_types.h", line 109: Error: A declaration does not specify a tag or an identifier.
"/.../srcdir/libs/libkdcraw/libraw/libraw/libraw_types.h", line 109: Error: Use ";" to terminate declarations.
"/.../srcdir/libs/libkdcraw/libraw/libraw/libraw_types.h", line 109: Error: invalid OpenMP pragma: start of omp pragma.
...
...
the line 109 is line 106 in the current libraw 0.8.5
I'm not into OpenMP but in the official docs (http://www.openmp.org/mp-documents/OpenMP3.0-SummarySpec.pdf), the firstprivate clause requires a directive, e.g. parallel. So the OpenMP part seems broken.
Since LibRaw 0.9, the OpenMP
Since LibRaw 0.9, the OpenMP pragmas are effective only on LibRaw compile time, not at apps compilation.
-- Alex Tutubalin @LibRaw LLC