Hi,

someone needs to add preserve_colors in the dt_omp_firstprivate(…) in
the next line, to please GCC 9.

Cheers,

Aurélien.

Le 25/07/2019 à 11:48, Terry Duell a écrit :
> Hello,
> Attempting to do an rpmbuild of current master (e31d89cbff35b) on
> Fedora 30, fails with the following message...
>
> /home/terry/rpmbuild/BUILD/darktable-2.7.0/src/iop/basecurve.c:982:29:
> error: 'preserve_colors' not specified in enclosing 'parallel'
>   982 |     const float lum = mul * dt_rgb_norm(inp, preserve_colors,
> work_profile);
>       |                            
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /home/terry/rpmbuild/BUILD/darktable-2.7.0/src/iop/basecurve.c:971:9:
> error: enclosing 'parallel'
>   971 | #pragma omp parallel for
> default(none)                            \
>       |         ^~~
> make[2]: *** [src/iop/CMakeFiles/basecurve.dir/build.make:71:
> src/iop/CMakeFiles/basecurve.dir/introspection_basecurve.c.o] Error 1
> make[2]: Leaving directory
> '/home/terry/rpmbuild/BUILD/darktable-2.7.0/build'
> make[1]: *** [CMakeFiles/Makefile2:5656:
> src/iop/CMakeFiles/basecurve.dir/all] Error 2
> make[1]: Leaving directory
> '/home/terry/rpmbuild/BUILD/darktable-2.7.0/build'
> make: *** [Makefile:155: all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.RDfswD (%build)
>
> Hope this helps,
>
> Cheers,

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to