Closed kloczek closed 17 hours ago
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.
This is fixed with https://github.com/Gecode/gecode/commit/c810c96b1ce5d3692e93439f76c4fa7d3daf9fbb on the 6.3.0 release branch. You can cherry-pick the change to fix the problem.
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.
Build fails with
```console [tkloczko@pers-jacek gecode-release-6.2.0]$ make -k make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gecode-release-6.2.0' make[1]: 'gecode/kernel/var-type.hpp' is up to date. make[1]: 'gecode/kernel/var-imp.hpp' is up to date. make[1]: 'libgecodesupport.so.49.0' is up to date. make[1]: 'libgecodekernel.so.49.0' is up to date. make[1]: 'libgecodesearch.so.49.0' is up to date. make[1]: 'libgecodeint.so.49.0' is up to date. make[1]: 'libgecodefloat.so.49.0' is up to date. /usr/bin/g++ -I. -fcx-limited-range -fno-signaling-nans -fno-rounding-math -ffinite-math-only -fno-math-errno -fno-strict-aliasing -O3 -fvisibility=hidden -ggdb -std=c++11 -fPIC -pthread -DNDEBUG -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security \ -c -o gecode/set/cardinality.o gecode/set/cardinality.cpp In file included from ./gecode/set/int.hh:296, from gecode/set/cardinality.cpp:39: ./gecode/set/int/weights.hpp: In member function ‘void Gecode::Set::Int::OverweightValues::init(int, Gecode::SharedArray