We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.
[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<I>::init(int, Gecode::SharedArray<int>&, Gecode::SharedArray<int>&, I&)’: ./gecode/set/int/weights.hpp:127:16: error: no match for ‘operator=’ (operand types are ‘const Gecode::SharedArray<int>’ and ‘Gecode::SharedArray<int>’) 127 | elements = elements0; weights = weights0; | ^~~~~~~~~ In file included from ./gecode/kernel.hh:177, from ./gecode/set.hh:43, from gecode/set/cardinality.cpp:38: ./gecode/kernel/data/shared-array.hpp:163:18: note: candidate: ‘Gecode::SharedArray<T>& Gecode::SharedArray<T>::operator=(const Gecode::SharedArray<T>&) [with T = int]’ (near match) 163 | SharedArray& operator =(const SharedArray&) = default; | ^~~~~~~~ ./gecode/kernel/data/shared-array.hpp:163:18: note: passing ‘const Gecode::SharedArray<int>*’ as ‘this’ argument discards qualifiers ./gecode/set/int/weights.hpp:127:37: error: no match for ‘operator=’ (operand types are ‘const Gecode::SharedArray<int>’ and ‘Gecode::SharedArray<int>’) 127 | elements = elements0; weights = weights0; | ^~~~~~~~ ./gecode/kernel/data/shared-array.hpp:163:18: note: candidate: ‘Gecode::SharedArray<T>& Gecode::SharedArray<T>::operator=(const Gecode::SharedArray<T>&) [with T = int]’ (near match) 163 | SharedArray& operator =(const SharedArray&) = default; | ^~~~~~~~ ./gecode/kernel/data/shared-array.hpp:163:18: note: passing ‘const Gecode::SharedArray<int>*’ as ‘this’ argument discards qualifiers make[1]: *** [Makefile:1390: gecode/set/cardinality.o] Error 1 /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/rel.o gecode/set/rel.cpp In file included from ./gecode/set/int.hh:296, from gecode/set/rel.cpp:39: ./gecode/set/int/weights.hpp: In member function ‘void Gecode::Set::Int::OverweightValues<I>::init(int, Gecode::SharedArray<int>&, Gecode::SharedArray<int>&, I&)’: ./gecode/set/int/weights.hpp:127:16: error: no match for ‘operator=’ (operand types are ‘const Gecode::SharedArray<int>’ and ‘Gecode::SharedArray<int>’) 127 | elements = elements0; weights = weights0; | ^~~~~~~~~ In file included from ./gecode/kernel.hh:177, from ./gecode/set.hh:43, from ./gecode/set/rel.hh:43, from gecode/set/rel.cpp:37: ./gecode/kernel/data/shared-array.hpp:163:18: note: candidate: ‘Gecode::SharedArray<T>& Gecode::SharedArray<T>::operator=(const Gecode::SharedArray<T>&) [with T = int]’ (near match) 163 | SharedArray& operator =(const SharedArray&) = default; | ^~~~~~~~ ./gecode/kernel/data/shared-array.hpp:163:18: note: passing ‘const Gecode::SharedArray<int>*’ as ‘this’ argument discards qualifiers ./gecode/set/int/weights.hpp:127:37: error: no match for ‘operator=’ (operand types are ‘const Gecode::SharedArray<int>’ and ‘Gecode::SharedArray<int>’) 127 | elements = elements0; weights = weights0; | ^~~~~~~~ ./gecode/kernel/data/shared-array.hpp:163:18: note: candidate: ‘Gecode::SharedArray<T>& Gecode::SharedArray<T>::operator=(const Gecode::SharedArray<T>&) [with T = int]’ (near match) 163 | SharedArray& operator =(const SharedArray&) = default; | ^~~~~~~~ ./gecode/kernel/data/shared-array.hpp:163:18: note: passing ‘const Gecode::SharedArray<int>*’ as ‘this’ argument discards qualifiers make[1]: *** [Makefile:1390: gecode/set/rel.o] Error 1 /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/int.o gecode/set/int.cpp In file included from ./gecode/set/int.hh:296, from gecode/set/int.cpp:38: ./gecode/set/int/weights.hpp: In member function ‘void Gecode::Set::Int::OverweightValues<I>::init(int, Gecode::SharedArray<int>&, Gecode::SharedArray<int>&, I&)’: ./gecode/set/int/weights.hpp:127:16: error: no match for ‘operator=’ (operand types are ‘const Gecode::SharedArray<int>’ and ‘Gecode::SharedArray<int>’) 127 | elements = elements0; weights = weights0; | ^~~~~~~~~ In file included from ./gecode/kernel.hh:177, from ./gecode/set.hh:43, from gecode/set/int.cpp:36: ./gecode/kernel/data/shared-array.hpp:163:18: note: candidate: ‘Gecode::SharedArray<T>& Gecode::SharedArray<T>::operator=(const Gecode::SharedArray<T>&) [with T = int]’ (near match) 163 | SharedArray& operator =(const SharedArray&) = default; | ^~~~~~~~ ./gecode/kernel/data/shared-array.hpp:163:18: note: passing ‘const Gecode::SharedArray<int>*’ as ‘this’ argument discards qualifiers ./gecode/set/int/weights.hpp:127:37: error: no match for ‘operator=’ (operand types are ‘const Gecode::SharedArray<int>’ and ‘Gecode::SharedArray<int>’) 127 | elements = elements0; weights = weights0; | ^~~~~~~~ ./gecode/kernel/data/shared-array.hpp:163:18: note: candidate: ‘Gecode::SharedArray<T>& Gecode::SharedArray<T>::operator=(const Gecode::SharedArray<T>&) [with T = int]’ (near match) 163 | SharedArray& operator =(const SharedArray&) = default; | ^~~~~~~~ ./gecode/kernel/data/shared-array.hpp:163:18: note: passing ‘const Gecode::SharedArray<int>*’ as ‘this’ argument discards qualifiers make[1]: *** [Makefile:1390: gecode/set/int.o] Error 1 make[1]: Target 'libgecodeset.so.49.0' not remade because of errors.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.
Build fails with
The text was updated successfully, but these errors were encountered: