Felix Manuel Cobos Sánchez wrote:

Hi Felix

> I'm getting this error building from latest git.

same here: fedup'd to f22, logs below

greets 
Wolfgang

> 
> /home/felix/Proyectos/darktable/src/common/interpolation.c: In
> function ‘dt_interpolation_compute_sample’:
> /home/felix/Proyectos/darktable/src/common/interpolation.c:789:21:
> error: array subscript is above array bounds [-Werror=array-bounds]
>          h += kernelh[j] * ipixel[0];
>                      ^
> 
> My system got updated to gcc 5.1, btw.
> 



 gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/5.1.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap 
--enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared 
--enable-threads=posix --enable-checking=release --enable-multilib 
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions 
--enable-gnu-unique-object --enable-linker-build-id 
--with-linker-hash-style=gnu --enable-plugin --enable-initfini-array 
--disable-libgcj --with-default-libstdcxx-abi=c++98 --with-isl --enable-libmpx 
--enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 
--build=x86_64-redhat-linux
Thread model: posix
gcc version 5.1.1 20150612 (Red Hat 5.1.1-3) (GCC) 




[ 21%] Building C object 
src/CMakeFiles/lib_darktable.dir/common/interpolation.c.o
/disk/REPOS/darktable/src/common/interpolation.c: In function 
‘dt_interpolation_compute_sample’:
/disk/REPOS/darktable/src/common/interpolation.c:789:21: error: array subscript 
is above array bounds [-Werror=array-bounds]
         h += kernelh[j] * ipixel[0];
                     ^
cc1: all warnings being treated as errors
src/CMakeFiles/lib_darktable.dir/build.make:829: recipe for target 
'src/CMakeFiles/lib_darktable.dir/common/interpolation.c.o' failed
make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/interpolation.c.o] Error 1
CMakeFiles/Makefile2:1142: recipe for target 
'src/CMakeFiles/lib_darktable.dir/all' failed
make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2

Attachment: pgp_E7xqeLSCK.pgp
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to