build error in kdegraphics

Alexander Neundorf neundorf at kde.org
Wed May 5 20:17:09 CEST 2010


On Wednesday 05 May 2010, Pavel Heimlich, a.k.a. hajma wrote:
> 2010/5/4 Alexander Neundorf <neundorf at kde.org>:
> > Hi,
> >
> > kdegraphics currently doesn't build with SunStudio:
> > http://my.cdash.org/viewBuildError.php?buildid=64252
> >
> > The code in this file is:
> > #ifdef LIBRAW_LIBRARY_BUILD
> > #ifdef _OPENMP
> > #pragma omp firstprivate(colors,height,width)
> > #endif
> > #endif
> >
> > What should we do ? Undefine _OPENMP ? Or somehow make it work what is
> > written there ? Or add an ifdef for the SunStudio compiler there ?
>
> Hi Alex,
> I've already reported the issue upstream at
> http://www.libraw.org/node/368
> I have never touched anything openmp, but after checking the
> documentation I consider the code is broken and only works by accident
> (if it works at all - is there a way to verify?).

I never used OpenMP, so I don't know.
For the time being I wouldn't oppose a patch to get kdegraphics compiling.

Alex


More information about the Kde-buildsystem mailing list