Hi there,

It seems (to me) that darktable does not support gcc 7. Is there any effort at the moment to support this? Or if not, what is the latest gcc-version that is supported?

Observations behind this question:

I just did a git pull on the master branch and tried to compile it. I got the following error (and others similar):

/home/jvc/Dev/darktable/src/common/mipmap_cache.c: In function ‘dt_mipmap_cache_unlink_ondisk_thumbnail.part.3’: /home/jvc/Dev/darktable/src/common/mipmap_cache.c:426:42: error: ‘.d/’ directive output may be truncated writing 3 bytes into a region of size between 1 and 4096 [-Werror=format-truncation=] snprintf(filename, sizeof(filename), "%s.d/%d/%d.jpg", cache->cachedir, mip, imgid);
                                          ^~~~~~~~~~~~~~~~
/home/jvc/Dev/darktable/src/common/mipmap_cache.c:426:42: note: using the range [-2147483648, 2147483647] for directive argument
In file included from /usr/include/stdio.h:862:0,
                 from /home/jvc/Dev/darktable/src/common/dtpthread.h:28,
                 from /home/jvc/Dev/darktable/src/common/cache.h:21,
                 from /home/jvc/Dev/darktable/src/common/mipmap_cache.h:21,
                 from /home/jvc/Dev/darktable/src/common/mipmap_cache.c:19:


After a bit googling, I realised it was because I upgraded my Ubuntu and got gcc v7.2 along with it.

BR
Jørn

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

Reply via email to