On Mon, Jun 29, 2015 at 11:32 PM, Chris Siebenmann <c...@cs.toronto.edu>
wrote:
> I just updated one of my machines to Fedora 22 and attempted to rebuild
> the current git tip development version of darktable on it.
Hey.
This errored
> out with:
>
> /data/code/git/darktable/src/common/interpolation.c: In function
> ‘dt_interpolation_compute_sample’:
> /data/code/git/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
>
> Fedora 22 is using gcc 5.1.1, according to 'gcc --version'.
>
So far, we consider this to be a gcc bug.
Feel free to report it to report it to fedora/$(DISTRO_NAME)/gcc bugzilla.
For now, either:
*) use other compilers (clang, gcc-4.6 ... gcc-4.9), or
*) gcc-5 but with -DCMAKE_BUILD_TYPE=RelWithDebInto
Relevant issues:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53198 [RESOLVED FIXED]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45180 [NEW]
No build error happens when building with clang (via 'CC=clang
> CXX=clang++ ./build.sh').
>
> - cks
>
Roman.
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Darktable-users mailing list
> darktable-us...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/darktable-users
>
>
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel