-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi Russel,
Am Do den 14. Apr 2016 um 9:02 schrieb Russel Winder: > I can build Git master HEAD fine on Debian Sid (GCC 5.3.1), however on Fedora > Rawhide (GCC 6.0.0), I get the following error. I assume the issue is GCC > related as I include the exiv2 option in both builds. > > ``` > g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-3.0 > -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 > -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 > -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 > -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 > -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 > -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm > -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 > -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.. -I.. -g -O2 > -MT exiv2.o -MD -MP -MF .deps/exiv2.Tpo -c -o exiv2.o exiv2.cc > In file included from main.h:113:0, > from exiv2.cc:59: > typedefs.h:164:40: error: left operand of shift expression ???(-1 << 8)??? is > negative [-fpermissive] > CHANGE_ERROR_MASK = (~0) << 8, /* the values below are fatal > errors */ > ~~~~~^~~~ > typedefs.h:164:43: error: enumerator value for ???CHANGE_ERROR_MASK??? is not > an integer constant > CHANGE_ERROR_MASK = (~0) << 8, /* the values below are fatal > errors */ > ^ > Makefile:897: recipe for target 'exiv2.o' failed > ``` This is a known bug in GCC6. And there is already a bug report on redhat bugzilla I think. The construct above is absolute legal C code and widely used. Please report that bug to GCC people. Regards Klaus - -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <kl...@ethgen.ch> Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQGcBAEBCgAGBQJXD2z2AAoJEKZ8CrGAGfasWW4L/3HSWRGpJP46PUUpntp9A+eu tjy/ZRSb5tfWiQMKGjNnyNmWOvNpvtH6Q0WbGBXySsnlxsfXEecw5IuMoj8zmRK8 EpeBlQ4d6QVuGLwW9E0TP7ZeEM/49cpoIbKtxMuNwPoInyxM0tsL4tRP46+ySzza 3t6qTLlvk4nClI6+dw5A0b8nABnk+Do6HgmR8fy77oHDLsJgU+gbeVxo4iZwM0qP nNL+4eWjJqmMAo82fDSMqf+uCE+/Fw+6I9gokKt/oHmcmPomAKqsQcRgzNqlxugg ZyMJ2jd7v+mtze4MQOByeEhT2XLQ4VUSKOGsXn8RNTOJCrUkvuOojGpCsn8jiw6u 9/OmF4CNSwe96ylvd11+pkllafxmuOUcMNpT2OAhAV+idKLztlSQnM2iWTc9P9PD wNbW2wIwyMVUKVQexJPFthxYWM1NyeXfB0kWcmL2jOAqrpzAHKib5VAr7tv/YeDj SSK4MigIJ0jad9gnPIuoiBo+Q+F2cuuAMMLIHfRmUw== =yvXF -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel