Should be fixed with commit e5914e2be3d51380ebf2ca09ec1455a95e3a1b3c.

Ulrich

Am 01.10.2016 um 11:45 schrieb João Horta:
[ 76%] Generating introspection_rawoverexposed.c
no introspection requested for rawoverexposed.c.
Scanning dependencies of target rawoverexposed
[ 76%] Building C object
src/iop/CMakeFiles/rawoverexposed.dir/introspection_rawoverexposed.c.o
In file included from
/tmp/yaourt-tmp-jmhorta/aur-darktable-git/src/darktable/build/src/iop/introspection_rawoverexposed.c:2:0:
/tmp/yaourt-tmp-jmhorta/aur-darktable-git/src/darktable/src/iop/rawoverexposed.c:
In function ‘process_cl’:
/tmp/yaourt-tmp-jmhorta/aur-darktable-git/src/darktable/src/iop/rawoverexposed.c:342:88:
error: passing argument 3 of ‘dt_opencl_copy_host_to_device_constant’
discards ‘const’ qualifier from pointer target type
[-Werror=discarded-array-qualifiers]
 _copy_host_to_device_constant(devid, sizeof(image->buf_dsc.xtrans),
image->buf_dsc.xtrans);
                                                                     ^~~~~
In file included from
/tmp/yaourt-tmp-jmhorta/aur-darktable-git/src/darktable/src/iop/rawoverexposed.c:26:0,
                 from
/tmp/yaourt-tmp-jmhorta/aur-darktable-git/src/darktable/build/src/iop/introspection_rawoverexposed.c:2:
/tmp/yaourt-tmp-jmhorta/aur-darktable-git/src/darktable/src/common/opencl.h:248:7:
note: expected ‘void *’ but argument is of type ‘const uint8_t (*)[6]
{aka const unsigned char (*)[6]}’
 void *dt_opencl_copy_host_to_device_constant(const int devid, const
size_t size, void *host);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [src/iop/CMakeFiles/rawoverexposed.dir/build.make:68:
src/iop/CMakeFiles/rawoverexposed.dir/introspection_rawoverexposed.c.o]
Error 1
make[1]: *** [CMakeFiles/Makefile2:5091:
src/iop/CMakeFiles/rawoverexposed.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
==> ERRO: Uma falha ocorreu em build().
    A cancelar...
==> ERRO: Makepkg não conseguiu compilar darktable-git.
==> Reiniciar a compilação de darktable-git ? [s/N]
==> -----------------------------------------------
==>
[jmhorta@manjaro-xfce ~]$


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

Reply via email to