=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for chuffed-0.14.0 [ 1%] [FLEX][FZNLexer] Building scanner with flex 2.6.4 [ 3%] [BISON][FZNParser] Building parser with bison 3.8.2 [ 3%] Built target thirdparty_cp_profiler [ 4%] Building CXX object CMakeFiles/thirdparty_murmur.dir/thirdparty/MurmurHash3/MurmurHash3.cpp.o [ 4%] Built target thirdparty_murmur [ 8%] Building CXX object CMakeFiles/chuffed.dir/chuffed/vars/int-var.cpp.o [ 11%] Building CXX object CMakeFiles/chuffed.dir/chuffed/vars/int-var-ll.cpp.o [ 11%] Building CXX object CMakeFiles/chuffed.dir/chuffed/ldsb/ldsb.cpp.o [ 8%] Building CXX object CMakeFiles/chuffed.dir/chuffed/vars/modelling.cpp.o [ 13%] Building CXX object CMakeFiles/chuffed.dir/chuffed/vars/bool-view.cpp.o [ 14%] Building CXX object CMakeFiles/chuffed.dir/chuffed/vars/int-var-sl.cpp.o [ 14%] Building CXX object CMakeFiles/chuffed.dir/chuffed/vars/int-var-el.cpp.o [ 16%] Building CXX object CMakeFiles/flatzinc_parser.dir/parser.tab.cpp.o In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:24, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:5: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::LitSort::operator()(Lit, Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/misc.h:22, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.h:4, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:5: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::LitSort::operator()(Lit, Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/misc.h:22, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/engine.h:4, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/branching/branching.h:4, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::isRootLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: note: candidate 2: 'operator[](int*, int)' (built-in) 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::isRootLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: note: candidate 2: 'operator[](int*, int)' (built-in) 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'int SAT::getLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: note: candidate 2: 'operator[](int*, int)' (built-in) 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'int SAT::getLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: note: candidate 2: 'operator[](int*, int)' (built-in) 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::incVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::incVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: note: candidate 2: 'operator[](int*, int)' (built-in) 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: note: candidate 2: 'operator[](int*, int)' (built-in) 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::decVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::decVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: note: candidate 2: 'operator[](int*, int)' (built-in) 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: note: candidate 2: 'operator[](int*, int)' (built-in) 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'Clause* SAT::getExpl(Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: note: candidate 2: 'operator[](Reason*, int)' (built-in) 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'Clause* SAT::getExpl(Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: note: candidate 2: 'operator[](Reason*, int)' (built-in) 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: note: candidate 2: 'operator[](int*, int)' (built-in) 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: note: candidate 2: 'operator[](int*, int)' (built-in) 250 | btToPos(index, trailpos[var(p)]); | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.h:7, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:7: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual void BoolView::setPreferredVal(PreferredVal)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFixed() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isTrue() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: note: candidate 2: 'operator[](signed char*, int)' (built-in) 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFalse() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'int BoolView::getVal() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: note: candidate 2: 'operator[](signed char*, int)' (built-in) 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'Lit BoolView::getValLit() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: note: candidate 2: 'operator[](signed char*, int)' (built-in) 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual DecInfo* BoolView::branch()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: note: candidate 2: 'operator[](bool*, int)' (built-in) 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::setValNotR(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: note: candidate 2: 'operator[](signed char*, int)' (built-in) 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setLearnable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setDecidable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setUIPable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:4, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.h:7, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::LitSort::operator()(Lit, Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/misc.h:22, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/engine.h:4, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.h:4: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::isRootLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: note: candidate 2: 'operator[](int*, int)' (built-in) 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'int SAT::getLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: note: candidate 2: 'operator[](int*, int)' (built-in) 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::incVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: note: candidate 2: 'operator[](int*, int)' (built-in) 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::decVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: note: candidate 2: 'operator[](int*, int)' (built-in) 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'Clause* SAT::getExpl(Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: note: candidate 2: 'operator[](Reason*, int)' (built-in) 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: note: candidate 2: 'operator[](int*, int)' (built-in) 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual void BoolView::setPreferredVal(PreferredVal)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFixed() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isTrue() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: note: candidate 2: 'operator[](signed char*, int)' (built-in) 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFalse() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'int BoolView::getVal() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: note: candidate 2: 'operator[](signed char*, int)' (built-in) 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'Lit BoolView::getValLit() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: note: candidate 2: 'operator[](signed char*, int)' (built-in) 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual DecInfo* BoolView::branch()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: note: candidate 2: 'operator[](bool*, int)' (built-in) 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::setValNotR(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: note: candidate 2: 'operator[](signed char*, int)' (built-in) 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setLearnable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setDecidable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setUIPable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp: In constructor 'IntVarLL::IntVarLL(const IntVar&)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:23:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 23 | ld[0].var = 0; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:23:13: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 23 | ld[0].var = 0; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:24:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 24 | ld[0].val = min - 1; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:24:13: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 24 | ld[0].val = min - 1; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:25:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 25 | ld[0].prev = -1; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:25:13: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 25 | ld[0].prev = -1; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:26:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 26 | ld[0].next = 1; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:26:13: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 26 | ld[0].next = 1; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:27:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 27 | ld[1].var = 1; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:27:13: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 27 | ld[1].var = 1; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:28:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 28 | ld[1].val = max; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:28:13: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 28 | ld[1].val = max; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:29:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 29 | ld[1].prev = 0; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:29:13: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 29 | ld[1].prev = 0; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:30:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 30 | ld[1].next = -1; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:30:13: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 30 | ld[1].next = -1; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:37:20: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 37 | sat.flags[v].setDecidable(false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:37:20: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 37 | sat.flags[v].setDecidable(false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:38:20: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 38 | sat.flags[v].setUIPable(false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:38:20: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 38 | sat.flags[v].setUIPable(false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:39:20: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 39 | sat.flags[v].setLearnable(false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:39:20: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 39 | sat.flags[v].setLearnable(false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h: In member function 'void Propagator::pushInQueue()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:55:48: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 55 | engine.p_queue[priority].push(this); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:55:48: note: candidate 2: 'operator[](vec*, int)' (built-in) 55 | engine.p_queue[priority].push(this); | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/primitives/primitives.h:71, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/globals/globals.h:6, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:153: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual void BoolView::setPreferredVal(PreferredVal)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFixed() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isTrue() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: note: candidate 2: 'operator[](signed char*, int)' (built-in) 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFalse() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'int BoolView::getVal() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: note: candidate 2: 'operator[](signed char*, int)' (built-in) 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'Lit BoolView::getValLit() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: note: candidate 2: 'operator[](signed char*, int)' (built-in) 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual DecInfo* BoolView::branch()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: note: candidate 2: 'operator[](bool*, int)' (built-in) 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::setValNotR(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: note: candidate 2: 'operator[](signed char*, int)' (built-in) 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setLearnable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setDecidable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setUIPable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp: In member function 'void IntVarLL::freeLazyVar(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:100:29: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 100 | while (ld[ni].val > val) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:100:29: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 100 | while (ld[ni].val > val) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:101:35: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 101 | ni = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:101:35: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 101 | ni = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:106:29: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 106 | while (ld[ni].val < val) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:106:29: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 106 | while (ld[ni].val < val) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:107:35: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 107 | ni = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:107:35: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 107 | ni = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:114:17: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 114 | ld[ld[ni].prev].next = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:114:17: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 114 | ld[ld[ni].prev].next = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:114:23: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 114 | ld[ld[ni].prev].next = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:114:23: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 114 | ld[ld[ni].prev].next = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:114:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 114 | ld[ld[ni].prev].next = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:114:37: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 114 | ld[ld[ni].prev].next = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:115:17: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 115 | ld[ld[ni].next].prev = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:115:17: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 115 | ld[ld[ni].next].prev = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:115:23: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 115 | ld[ld[ni].next].prev = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:115:23: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 115 | ld[ld[ni].next].prev = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:115:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 115 | ld[ld[ni].next].prev = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:115:37: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 115 | ld[ld[ni].next].prev = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp: In member function 'Lit IntVarLL::getGELit(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:129:21: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 129 | while (ld[ni].val < prev) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:129:21: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 129 | while (ld[ni].val < prev) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:130:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 130 | ni = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:130:27: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 130 | ni = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:133:18: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 133 | if (ld[ni].val == prev) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:133:18: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 133 | if (ld[ni].val == prev) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:134:33: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 134 | return Lit(ld[ni].var, true); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:134:33: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 134 | return Lit(ld[ni].var, true); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:142:14: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 142 | ld[mi].var = sat.getLazyVar(ChannelInfo(var_id, 1, 1, prev)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:142:14: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 142 | ld[mi].var = sat.getLazyVar(ChannelInfo(var_id, 1, 1, prev)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:143:14: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 143 | ld[mi].val = prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:143:14: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 143 | ld[mi].val = prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:144:14: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 144 | ld[mi].next = ni; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:144:14: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 144 | ld[mi].next = ni; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:145:14: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 145 | ld[mi].prev = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:145:14: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 145 | ld[mi].prev = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:145:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 145 | ld[mi].prev = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:145:28: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 145 | ld[mi].prev = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:146:14: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 146 | ld[ni].prev = mi; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:146:14: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 146 | ld[ni].prev = mi; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:147:17: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 147 | ld[ld[mi].prev].next = mi; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:147:17: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 147 | ld[ld[mi].prev].next = mi; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:147:23: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 147 | ld[ld[mi].prev].next = mi; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:147:23: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 147 | ld[ld[mi].prev].next = mi; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:151:41: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 151 | litString.insert(make_pair(ld[mi].var * 2 + 1, ss.str())); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:151:41: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 151 | litString.insert(make_pair(ld[mi].var * 2 + 1, ss.str())); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:154:41: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 154 | litString.insert(make_pair(ld[mi].var * 2, ss.str())); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:154:41: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 154 | litString.insert(make_pair(ld[mi].var * 2, ss.str())); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:156:25: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 156 | return Lit(ld[mi].var, true); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:156:25: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 156 | return Lit(ld[mi].var, true); | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp:5: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h: In member function 'void Propagator::pushInQueue()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:55:48: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 55 | engine.p_queue[priority].push(this); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:55:48: note: candidate 2: 'operator[](vec*, int)' (built-in) 55 | engine.p_queue[priority].push(this); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp: In member function 'void IntVarLL::channelMin(int, Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:193:21: error: ambiguous overload for 'operator[]' (operand types are 'vec' and 'Tint') 193 | for (ni = ld[li].next; ld[ni].val < prev; ni = ld[ni].next) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:193:21: note: candidate: 'operator[](IntVarLL::LitNode*, int)' (built-in) /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:85:18: note: candidate: 'const T& vec::operator[](unsigned int) const [with T = IntVarLL::LitNode]' 85 | const T& operator[](unsigned int index) const { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:193:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 193 | for (ni = ld[li].next; ld[ni].val < prev; ni = ld[ni].next) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:193:37: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 193 | for (ni = ld[li].next; ld[ni].val < prev; ni = ld[ni].next) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:193:61: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 193 | for (ni = ld[li].next; ld[ni].val < prev; ni = ld[ni].next) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:193:61: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 193 | for (ni = ld[li].next; ld[ni].val < prev; ni = ld[ni].next) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:194:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 194 | sat.cEnqueue(Lit(ld[ni].var, true), r); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:194:39: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 194 | sat.cEnqueue(Lit(ld[ni].var, true), r); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp: In member function 'void IntVarLL::channelMax(int, Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:205:21: error: ambiguous overload for 'operator[]' (operand types are 'vec' and 'Tint') 205 | for (ni = ld[hi].prev; ld[ni].val > v; ni = ld[ni].prev) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:205:21: note: candidate: 'operator[](IntVarLL::LitNode*, int)' (built-in) /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:85:18: note: candidate: 'const T& vec::operator[](unsigned int) const [with T = IntVarLL::LitNode]' 85 | const T& operator[](unsigned int index) const { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:205:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 205 | for (ni = ld[hi].prev; ld[ni].val > v; ni = ld[ni].prev) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:205:37: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 205 | for (ni = ld[hi].prev; ld[ni].val > v; ni = ld[ni].prev) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:205:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 205 | for (ni = ld[hi].prev; ld[ni].val > v; ni = ld[ni].prev) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:205:58: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 205 | for (ni = ld[hi].prev; ld[ni].val > v; ni = ld[ni].prev) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:206:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 206 | sat.cEnqueue(Lit(ld[ni].var, false), r); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:206:39: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 206 | sat.cEnqueue(Lit(ld[ni].var, false), r); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp: In member function 'Lit IntVarLL::createLit(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:290:21: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 290 | while (ld[ni].val > v) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:290:21: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 290 | while (ld[ni].val > v) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:291:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 291 | ni = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:291:27: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 291 | ni = ld[ni].prev; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:294:18: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 294 | if (ld[ni].val == v) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:294:18: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 294 | if (ld[ni].val == v) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:295:33: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 295 | return Lit(ld[ni].var, s != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:295:33: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 295 | return Lit(ld[ni].var, s != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:299:14: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 299 | ld[mi].var = sat.getLazyVar(ChannelInfo(var_id, 1, 1, v)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:299:14: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 299 | ld[mi].var = sat.getLazyVar(ChannelInfo(var_id, 1, 1, v)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:300:14: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 300 | ld[mi].val = v; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:300:14: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 300 | ld[mi].val = v; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:301:14: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 301 | ld[mi].prev = ni; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:301:14: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 301 | ld[mi].prev = ni; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:302:14: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 302 | ld[mi].next = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:302:14: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 302 | ld[mi].next = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:302:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 302 | ld[mi].next = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:302:28: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 302 | ld[mi].next = ld[ni].next; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:303:14: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 303 | ld[ni].next = mi; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:303:14: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 303 | ld[ni].next = mi; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:304:17: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 304 | ld[ld[mi].next].prev = mi; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:304:17: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 304 | ld[ld[mi].next].prev = mi; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:304:23: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 304 | ld[ld[mi].next].prev = mi; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:304:23: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 304 | ld[ld[mi].next].prev = mi; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:306:35: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 306 | const Lit p = Lit(ld[ld[mi].next].var, true); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:306:35: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 306 | const Lit p = Lit(ld[ld[mi].next].var, true); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:306:41: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 306 | const Lit p = Lit(ld[ld[mi].next].var, true); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:306:41: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 306 | const Lit p = Lit(ld[ld[mi].next].var, true); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:307:35: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 307 | const Lit q = Lit(ld[ld[mi].prev].var, false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:307:35: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 307 | const Lit q = Lit(ld[ld[mi].prev].var, false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:307:41: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 307 | const Lit q = Lit(ld[ld[mi].prev].var, false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:307:41: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 307 | const Lit q = Lit(ld[ld[mi].prev].var, false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:318:29: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 318 | sat.rtrail[l].push(r); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:318:29: note: candidate 2: 'operator[](vec*, int)' (built-in) 318 | sat.rtrail[l].push(r); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:319:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 319 | sat.aEnqueue(Lit(ld[mi].var, true), r, l); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:319:39: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 319 | sat.aEnqueue(Lit(ld[mi].var, true), r, l); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:328:29: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 328 | sat.rtrail[l].push(r); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:328:29: note: candidate 2: 'operator[](vec*, int)' (built-in) 328 | sat.rtrail[l].push(r); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:329:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 329 | sat.aEnqueue(Lit(ld[mi].var, false), r, l); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:329:39: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 329 | sat.aEnqueue(Lit(ld[mi].var, false), r, l); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:332:25: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 332 | return Lit(ld[mi].var, s != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVarLL::LitNode]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:332:25: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 332 | return Lit(ld[mi].var, s != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'Clause* Symmetry::getSymClause(Clause*, int, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:44:21: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 44 | ps[0] = getSymLit((*r)[0], r1, r2); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Lit]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:44:21: note: candidate 2: 'operator[](Lit*, int)' (built-in) 44 | ps[0] = getSymLit((*r)[0], r1, r2); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'void LDSB::processDec(Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:62:45: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 62 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:62:45: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 62 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:67:61: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 67 | vec >& syms = lookupTable[var_id]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec >]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:67:61: note: candidate 2: 'operator[](vec >*, int)' (built-in) 67 | vec >& syms = lookupTable[var_id]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:70:41: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 70 | symmetries[syms[i].first]->processDec(p, syms[i].second); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Symmetry*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:70:41: note: candidate 2: 'operator[](Symmetry**, int)' (built-in) 70 | symmetries[syms[i].first]->processDec(p, syms[i].second); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'bool LDSB::processImpl(Clause*)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:86:53: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 86 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:86:53: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 86 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:94:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 94 | vec >& syms = lookupTable[var_id]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec >]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:94:69: note: candidate 2: 'operator[](vec >*, int)' (built-in) 94 | vec >& syms = lookupTable[var_id]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:100:54: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 100 | if (!symmetries[syms[i].first]->processImpl(sym_learnts[k], syms[i].second)) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Symmetry*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:100:54: note: candidate 2: 'operator[](Symmetry**, int)' (built-in) 100 | if (!symmetries[syms[i].first]->processImpl(sym_learnts[k], syms[i].second)) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In constructor 'VarSym::VarSym(vec&)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:152:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 152 | vars[i] = v[i]->var_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:152:38: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 152 | vars[i] = v[i]->var_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:155:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 155 | if (v[i]->getMin() != v[0]->getMin()) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:155:32: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 155 | if (v[i]->getMin() != v[0]->getMin()) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:155:50: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 155 | if (v[i]->getMin() != v[0]->getMin()) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:155:50: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 155 | if (v[i]->getMin() != v[0]->getMin()) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:158:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 158 | if (v[i]->getMax() != v[0]->getMax()) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:158:32: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 158 | if (v[i]->getMax() != v[0]->getMax()) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:158:50: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 158 | if (v[i]->getMax() != v[0]->getMax()) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:158:50: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 158 | if (v[i]->getMax() != v[0]->getMax()) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'virtual void VarSym::init()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:167:49: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 167 | ldsb.lookupTable[vars[i]].push(std::pair(sym_id, i)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec >]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:167:49: note: candidate 2: 'operator[](vec >*, int)' (built-in) 167 | ldsb.lookupTable[vars[i]].push(std::pair(sym_id, i)); | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:24, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:2: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::LitSort::operator()(Lit, Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/misc.h:22, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/engine.h:4, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'virtual Lit VarSym::getSymLit(Lit, int, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:234:53: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 234 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:234:53: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 234 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:238:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 238 | const int base_a = ((IntVarEL*)engine.vars[a])->getBaseVLit(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:238:69: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 238 | const int base_a = ((IntVarEL*)engine.vars[a])->getBaseVLit(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:239:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 239 | const int base_b = ((IntVarEL*)engine.vars[b])->getBaseVLit(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:239:69: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 239 | const int base_b = ((IntVarEL*)engine.vars[b])->getBaseVLit(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:244:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 244 | const int base_a = ((IntVarEL*)engine.vars[a])->getBaseVLit(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:244:69: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 244 | const int base_a = ((IntVarEL*)engine.vars[a])->getBaseVLit(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:245:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 245 | const int base_b = ((IntVarEL*)engine.vars[b])->getBaseVLit(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:245:69: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 245 | const int base_b = ((IntVarEL*)engine.vars[b])->getBaseVLit(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::isRootLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: note: candidate 2: 'operator[](int*, int)' (built-in) 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In constructor 'ValSym::ValSym(vec&, int, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:272:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 272 | vars[i] = v[i]->var_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'int SAT::getLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: note: candidate 2: 'operator[](int*, int)' (built-in) 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:272:38: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 272 | vars[i] = v[i]->var_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:273:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 273 | if (v[i]->getMin() > min) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:273:32: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 273 | if (v[i]->getMin() > min) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::incVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: note: candidate 2: 'operator[](int*, int)' (built-in) 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:276:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 276 | if (v[i]->getMax() < max) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::decVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:276:32: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 276 | if (v[i]->getMax() < max) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: note: candidate 2: 'operator[](int*, int)' (built-in) 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:277:54: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 277 | printf("%d %d\n", v[i]->getMax(), max); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:277:54: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 277 | printf("%d %d\n", v[i]->getMax(), max); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'Clause* SAT::getExpl(Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: note: candidate 2: 'operator[](Reason*, int)' (built-in) 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: note: candidate 2: 'operator[](int*, int)' (built-in) 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'virtual void ValSym::init()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:293:49: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 293 | ldsb.lookupTable[vars[i]].push(std::pair(sym_id, i)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec >]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:293:49: note: candidate 2: 'operator[](vec >*, int)' (built-in) 293 | ldsb.lookupTable[vars[i]].push(std::pair(sym_id, i)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'Clause* ValSym::cleanClause(Clause*) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:388:64: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 388 | const int var_id = sat.c_info[var(c[i])].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:388:64: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 388 | const int var_id = sat.c_info[var(c[i])].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:402:49: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 402 | if (sat.c_info[var(c[i])].val_type) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:402:49: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 402 | if (sat.c_info[var(c[i])].val_type) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:403:74: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 403 | auto* var = (IntVarEL*)engine.vars[var_id]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:403:74: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 403 | auto* var = (IntVarEL*)engine.vars[var_id]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:404:86: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 404 | int v = (toInt(c[i]) - ((IntVarEL*)engine.vars[var_id])->getBaseBLit()); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:404:86: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 404 | int v = (toInt(c[i]) - ((IntVarEL*)engine.vars[var_id])->getBaseBLit()); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'virtual Lit ValSym::getSymLit(Lit, int, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:434:53: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 434 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:434:53: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 434 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In static member function 'static int ValSym::getLitVal(Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:457:53: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 457 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:457:53: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 457 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:461:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 461 | if (sat.c_info[var(p)].val_type) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:461:38: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 461 | if (sat.c_info[var(p)].val_type) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:464:66: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 464 | return (toInt(p) - ((IntVarEL*)engine.vars[var_id])->getBaseVLit()) / 2; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:464:66: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 464 | return (toInt(p) - ((IntVarEL*)engine.vars[var_id])->getBaseVLit()) / 2; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp: In member function 'void IntVar::specialiseToSL(vec&)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp:125:22: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 125 | if (min < v[0]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp:125:22: note: candidate 2: 'operator[](int*, int)' (built-in) 125 | if (min < v[0]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp:126:26: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 126 | min = v[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp:126:26: note: candidate 2: 'operator[](int*, int)' (built-in) 126 | min = v[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In constructor 'VarSeqSym::VarSeqSym(int, int, vec&)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:490:57: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 490 | vars[i][j] = v[i * m + j]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp:133:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 133 | if (v.last() - v[0] >= static_cast(v.size() * mylog2(v.size()))) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp:133:27: note: candidate 2: 'operator[](int*, int)' (built-in) 133 | if (v.last() - v[0] >= static_cast(v.size() * mylog2(v.size()))) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:490:57: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 490 | vars[i][j] = v[i * m + j]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:491:41: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 491 | values[i].push(unfixed); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:491:41: note: candidate 2: 'operator[](vec*, int)' (built-in) 491 | values[i].push(unfixed); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp: In member function 'void IntVar::wakePropagators()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp:189:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 189 | PropInfo& pi = pinfo[i]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar::PropInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp:189:39: note: candidate 2: 'operator[](IntVar::PropInfo*, int)' (built-in) 189 | PropInfo& pi = pinfo[i]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'virtual void VarSeqSym::init()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:507:68: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 507 | ldsb.lookupTable[vars[i][j]->var_id].push(std::pair(sym_id, i * m + j)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec >]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:507:68: note: candidate 2: 'operator[](vec >*, int)' (built-in) 507 | ldsb.lookupTable[vars[i][j]->var_id].push(std::pair(sym_id, i * m + j)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:508:55: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 508 | occ[vars[i][j]->var_id].push(i * m + j); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:508:55: note: candidate 2: 'operator[](vec*, int)' (built-in) 508 | occ[vars[i][j]->var_id].push(i * m + j); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'virtual void VarSeqSym::wakeup(int, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:515:29: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 515 | values[i / m][i % m] = vars[i / m][i % m]->getVal(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:515:29: note: candidate 2: 'operator[](vec*, int)' (built-in) 515 | values[i / m][i % m] = vars[i / m][i % m]->getVal(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:515:36: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 515 | values[i / m][i % m] = vars[i / m][i % m]->getVal(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Tint]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:515:36: note: candidate 2: 'operator[](Tint*, int)' (built-in) 515 | values[i / m][i % m] = vars[i / m][i % m]->getVal(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'virtual bool VarSeqSym::processImpl(Clause*, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:525:53: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 525 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:525:53: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 525 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:532:56: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 532 | for (unsigned int i = 0; i < occ[var_id].size(); i++) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:532:56: note: candidate 2: 'operator[](vec*, int)' (built-in) 532 | for (unsigned int i = 0; i < occ[var_id].size(); i++) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:533:50: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 533 | const int r1 = occ[var_id][i] / m; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:533:50: note: candidate 2: 'operator[](vec*, int)' (built-in) 533 | const int r1 = occ[var_id][i] / m; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'bool VarSeqSym::rowMatch(int, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:597:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 597 | if (values[r1][i] != values[r2][i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:597:38: note: candidate 2: 'operator[](vec*, int)' (built-in) 597 | if (values[r1][i] != values[r2][i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:597:41: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 597 | if (values[r1][i] != values[r2][i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Tint]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:597:41: note: candidate 2: 'operator[](Tint*, int)' (built-in) 597 | if (values[r1][i] != values[r2][i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:597:55: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 597 | if (values[r1][i] != values[r2][i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:597:55: note: candidate 2: 'operator[](vec*, int)' (built-in) 597 | if (values[r1][i] != values[r2][i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:597:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 597 | if (values[r1][i] != values[r2][i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Tint]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:597:58: note: candidate 2: 'operator[](Tint*, int)' (built-in) 597 | if (values[r1][i] != values[r2][i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'virtual Lit VarSeqSym::getSymLit(Lit, int, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:606:53: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 606 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:606:53: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 606 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:610:31: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 610 | if (occ[var_id].size() == 0) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:610:31: note: candidate 2: 'operator[](vec*, int)' (built-in) 610 | if (occ[var_id].size() == 0) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:614:56: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 614 | for (unsigned int i = 0; i < occ[var_id].size(); i++) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:614:56: note: candidate 2: 'operator[](vec*, int)' (built-in) 614 | for (unsigned int i = 0; i < occ[var_id].size(); i++) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:616:49: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 616 | const int r = occ[var_id][i] / m; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:616:49: note: candidate 2: 'operator[](vec*, int)' (built-in) 616 | const int r = occ[var_id][i] / m; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:617:49: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 617 | const int c = occ[var_id][i] % m; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:617:49: note: candidate 2: 'operator[](vec*, int)' (built-in) 617 | const int c = occ[var_id][i] % m; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In constructor 'ValSeqSym::ValSeqSym(int, int, vec&, vec&)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:668:42: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 668 | valseqs[i].push(a[i * m + j]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:668:42: note: candidate 2: 'operator[](vec*, int)' (built-in) 668 | valseqs[i].push(a[i * m + j]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:668:60: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 668 | valseqs[i].push(a[i * m + j]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:668:60: note: candidate 2: 'operator[](int*, int)' (built-in) 668 | valseqs[i].push(a[i * m + j]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:669:48: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 669 | occ[a[i * m + j] - min].push(i * m + j); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:669:48: note: candidate 2: 'operator[](int*, int)' (built-in) 669 | occ[a[i * m + j] - min].push(i * m + j); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:669:55: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 669 | occ[a[i * m + j] - min].push(i * m + j); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:669:55: note: candidate 2: 'operator[](vec*, int)' (built-in) 669 | occ[a[i * m + j] - min].push(i * m + j); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'virtual void ValSeqSym::init()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:692:57: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 692 | ldsb.lookupTable[vars[i]->var_id].push(std::pair(sym_id, i)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec >]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:692:57: note: candidate 2: 'operator[](vec >*, int)' (built-in) 692 | ldsb.lookupTable[vars[i]->var_id].push(std::pair(sym_id, i)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'virtual void ValSeqSym::processDec(Lit, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:706:57: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 706 | for (unsigned int i = 0; i < occ[v - min].size(); i++) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:706:57: note: candidate 2: 'operator[](vec*, int)' (built-in) 706 | for (unsigned int i = 0; i < occ[v - min].size(); i++) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:707:50: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 707 | const int p = occ[v - min][i]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:707:50: note: candidate 2: 'operator[](vec*, int)' (built-in) 707 | const int p = occ[v - min][i]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'virtual bool ValSeqSym::processImpl(Clause*, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:727:57: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 727 | for (unsigned int k = 0; k < occ[v - min].size(); k++) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:727:57: note: candidate 2: 'operator[](vec*, int)' (built-in) 727 | for (unsigned int k = 0; k < occ[v - min].size(); k++) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:728:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 728 | const int r1 = occ[v - min][k] / m; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:728:51: note: candidate 2: 'operator[](vec*, int)' (built-in) 728 | const int r1 = occ[v - min][k] / m; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'Clause* ValSeqSym::cleanClause(Clause*) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:788:64: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 788 | const int var_id = sat.c_info[var(c[i])].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:788:64: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 788 | const int var_id = sat.c_info[var(c[i])].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:802:49: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 802 | if (sat.c_info[var(c[i])].val_type) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:802:49: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 802 | if (sat.c_info[var(c[i])].val_type) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:803:74: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 803 | auto* var = (IntVarEL*)engine.vars[var_id]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:803:74: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 803 | auto* var = (IntVarEL*)engine.vars[var_id]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:804:86: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 804 | int v = (toInt(c[i]) - ((IntVarEL*)engine.vars[var_id])->getBaseBLit()); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:804:86: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 804 | int v = (toInt(c[i]) - ((IntVarEL*)engine.vars[var_id])->getBaseBLit()); | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:3: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::LitSort::operator()(Lit, Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/misc.h:22, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/options.h:4, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In member function 'virtual Lit ValSeqSym::getSymLit(Lit, int, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:827:53: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 827 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:827:53: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 827 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:835:57: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 835 | for (unsigned int i = 0; i < occ[v - min].size(); i++) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:835:57: note: candidate 2: 'operator[](vec*, int)' (built-in) 835 | for (unsigned int i = 0; i < occ[v - min].size(); i++) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:836:50: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 836 | const int r = occ[v - min][i] / m; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:836:50: note: candidate 2: 'operator[](vec*, int)' (built-in) 836 | const int r = occ[v - min][i] / m; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:837:50: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 837 | const int c = occ[v - min][i] % m; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:837:50: note: candidate 2: 'operator[](vec*, int)' (built-in) 837 | const int c = occ[v - min][i] % m; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:839:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 839 | const int v2 = valseqs[r2][c]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:839:58: note: candidate 2: 'operator[](vec*, int)' (built-in) 839 | const int v2 = valseqs[r2][c]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:839:61: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 839 | const int v2 = valseqs[r2][c]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:839:61: note: candidate 2: 'operator[](int*, int)' (built-in) 839 | const int v2 = valseqs[r2][c]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:843:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 843 | const int v2 = valseqs[r1][c]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:843:58: note: candidate 2: 'operator[](vec*, int)' (built-in) 843 | const int v2 = valseqs[r1][c]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:843:61: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 843 | const int v2 = valseqs[r1][c]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:843:61: note: candidate 2: 'operator[](int*, int)' (built-in) 843 | const int v2 = valseqs[r1][c]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::isRootLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: note: candidate 2: 'operator[](int*, int)' (built-in) 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In static member function 'static int ValSeqSym::getLitVal(Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:851:53: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 851 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:851:53: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 851 | const int var_id = sat.c_info[var(p)].cons_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'int SAT::getLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:855:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 855 | if (sat.c_info[var(p)].val_type) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: note: candidate 2: 'operator[](int*, int)' (built-in) 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:855:38: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 855 | if (sat.c_info[var(p)].val_type) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h: In member function 'void Propagator::pushInQueue()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:55:48: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 55 | engine.p_queue[priority].push(this); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:55:48: note: candidate 2: 'operator[](vec*, int)' (built-in) 55 | engine.p_queue[priority].push(this); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:858:66: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 858 | return (toInt(p) - ((IntVarEL*)engine.vars[var_id])->getBaseVLit()) / 2; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:858:66: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 858 | return (toInt(p) - ((IntVarEL*)engine.vars[var_id])->getBaseVLit()) / 2; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::incVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: note: candidate 2: 'operator[](int*, int)' (built-in) 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::decVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: note: candidate 2: 'operator[](int*, int)' (built-in) 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'Clause* SAT::getExpl(Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: note: candidate 2: 'operator[](Reason*, int)' (built-in) 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: note: candidate 2: 'operator[](int*, int)' (built-in) 250 | btToPos(index, trailpos[var(p)]); | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.h:7, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:6: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual void BoolView::setPreferredVal(PreferredVal)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFixed() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isTrue() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: note: candidate 2: 'operator[](signed char*, int)' (built-in) 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFalse() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'int BoolView::getVal() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: note: candidate 2: 'operator[](signed char*, int)' (built-in) 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'Lit BoolView::getValLit() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: note: candidate 2: 'operator[](signed char*, int)' (built-in) 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual DecInfo* BoolView::branch()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: note: candidate 2: 'operator[](bool*, int)' (built-in) 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::setValNotR(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: note: candidate 2: 'operator[](signed char*, int)' (built-in) 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setLearnable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setDecidable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setUIPable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/primitives/primitives.h:71, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/globals/globals.h:6, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:153: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual void BoolView::setPreferredVal(PreferredVal)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFixed() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isTrue() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: note: candidate 2: 'operator[](signed char*, int)' (built-in) 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:4, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::LitSort::operator()(Lit, Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFalse() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/misc.h:22, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/engine.h:4, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/branching/branching.h:4, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:4: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'int BoolView::getVal() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: note: candidate 2: 'operator[](signed char*, int)' (built-in) 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'Lit BoolView::getValLit() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: note: candidate 2: 'operator[](signed char*, int)' (built-in) 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual DecInfo* BoolView::branch()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: note: candidate 2: 'operator[](bool*, int)' (built-in) 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::setValNotR(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: note: candidate 2: 'operator[](signed char*, int)' (built-in) 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setLearnable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::isRootLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: note: candidate 2: 'operator[](int*, int)' (built-in) 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setDecidable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'int SAT::getLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setUIPable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: note: candidate 2: 'operator[](int*, int)' (built-in) 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::incVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: note: candidate 2: 'operator[](int*, int)' (built-in) 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::decVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: note: candidate 2: 'operator[](int*, int)' (built-in) 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'Clause* SAT::getExpl(Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: note: candidate 2: 'operator[](Reason*, int)' (built-in) 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: note: candidate 2: 'operator[](int*, int)' (built-in) 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual void BoolView::setPreferredVal(PreferredVal)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFixed() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isTrue() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: note: candidate 2: 'operator[](signed char*, int)' (built-in) 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFalse() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'int BoolView::getVal() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: note: candidate 2: 'operator[](signed char*, int)' (built-in) 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'Lit BoolView::getValLit() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: note: candidate 2: 'operator[](signed char*, int)' (built-in) 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual DecInfo* BoolView::branch()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: note: candidate 2: 'operator[](bool*, int)' (built-in) 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::setValNotR(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: note: candidate 2: 'operator[](signed char*, int)' (built-in) 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setLearnable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setDecidable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setUIPable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:4, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.h:5, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::LitSort::operator()(Lit, Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/misc.h:22, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.h:4: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::isRootLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: note: candidate 2: 'operator[](int*, int)' (built-in) 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'int SAT::getLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: note: candidate 2: 'operator[](int*, int)' (built-in) 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::incVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: note: candidate 2: 'operator[](int*, int)' (built-in) 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::decVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: note: candidate 2: 'operator[](int*, int)' (built-in) 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'Clause* SAT::getExpl(Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: note: candidate 2: 'operator[](Reason*, int)' (built-in) 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: note: candidate 2: 'operator[](int*, int)' (built-in) 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual void BoolView::setPreferredVal(PreferredVal)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFixed() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isTrue() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: note: candidate 2: 'operator[](signed char*, int)' (built-in) 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFalse() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'int BoolView::getVal() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: note: candidate 2: 'operator[](signed char*, int)' (built-in) 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'Lit BoolView::getValLit() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: note: candidate 2: 'operator[](signed char*, int)' (built-in) 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual DecInfo* BoolView::branch()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: note: candidate 2: 'operator[](bool*, int)' (built-in) 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::setValNotR(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: note: candidate 2: 'operator[](signed char*, int)' (built-in) 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setLearnable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setDecidable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setUIPable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp:4: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h: In member function 'void Propagator::pushInQueue()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:55:48: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 55 | engine.p_queue[priority].push(this); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:55:48: note: candidate 2: 'operator[](vec*, int)' (built-in) 55 | engine.p_queue[priority].push(this); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp: In function 'void createVars(vec&, int, int, int, bool)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:20:20: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 20 | x[i] = newIntVar(min, max); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:20:20: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 20 | x[i] = newIntVar(min, max); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:22:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 22 | x[i]->specialiseToEL(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:22:28: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 22 | x[i]->specialiseToEL(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp: In function 'void createVars(vec >&, int, int, int, int, bool)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:31:20: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 31 | x[i].growTo(m); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:31:20: note: candidate 2: 'operator[](vec*, int)' (built-in) 31 | x[i].growTo(m); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:33:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 33 | x[i][j] = newIntVar(min, max); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:33:28: note: candidate 2: 'operator[](vec*, int)' (built-in) 33 | x[i][j] = newIntVar(min, max); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:33:31: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 33 | x[i][j] = newIntVar(min, max); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:33:31: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 33 | x[i][j] = newIntVar(min, max); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:35:36: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 35 | x[i][j]->specialiseToEL(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:35:36: note: candidate 2: 'operator[](vec*, int)' (built-in) 35 | x[i][j]->specialiseToEL(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:35:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 35 | x[i][j]->specialiseToEL(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:35:39: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 35 | x[i][j]->specialiseToEL(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp: In function 'void createVars(vec&, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:45:20: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 45 | x[i] = newBoolVar(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = BoolView]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:45:20: note: candidate 2: 'operator[](BoolView*, int)' (built-in) 45 | x[i] = newBoolVar(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp: In function 'void createVars(vec >&, int, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:53:20: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 53 | x[i].growTo(m); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:53:20: note: candidate 2: 'operator[](vec*, int)' (built-in) 53 | x[i].growTo(m); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:55:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 55 | x[i][j] = newBoolVar(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:55:28: note: candidate 2: 'operator[](vec*, int)' (built-in) 55 | x[i][j] = newBoolVar(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:55:31: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 55 | x[i][j] = newBoolVar(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = BoolView]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.cpp:55:31: note: candidate 2: 'operator[](BoolView*, int)' (built-in) 55 | x[i][j] = newBoolVar(); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp: In constructor 'IntVarSL::IntVarSL(const IntVar&, vec&)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:55:34: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 55 | if (i == values[k]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:55:34: note: candidate 2: 'operator[](int*, int)' (built-in) 55 | if (i == values[k]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:94:34: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 94 | sat.c_info[var(p)].cons_id = var_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:94:34: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 94 | sat.c_info[var(p)].cons_id = var_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:98:34: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 98 | sat.c_info[var(p)].cons_id = var_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:98:34: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 98 | sat.c_info[var(p)].cons_id = var_id; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp: In member function 'virtual bool IntVarSL::setMin(int64_t, Reason, bool)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:173:21: error: ambiguous overload for 'operator[]' (operand types are 'vec' and 'Tint') 173 | min = values[el->min]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:173:21: note: candidate: 'operator[](int*, int)' (built-in) /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:85:18: note: candidate: 'const T& vec::operator[](unsigned int) const [with T = int]' 85 | const T& operator[](unsigned int index) const { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp: In member function 'virtual bool IntVarSL::setMax(int64_t, Reason, bool)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:184:21: error: ambiguous overload for 'operator[]' (operand types are 'vec' and 'Tint') 184 | max = values[el->max]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:184:21: note: candidate: 'operator[](int*, int)' (built-in) /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:85:18: note: candidate: 'const T& vec::operator[](unsigned int) const [with T = int]' 85 | const T& operator[](unsigned int index) const { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp: In member function 'virtual bool IntVarSL::remVal(int64_t, Reason, bool)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:218:21: error: ambiguous overload for 'operator[]' (operand types are 'vec' and 'Tint') 218 | min = values[el->min]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:218:21: note: candidate: 'operator[](int*, int)' (built-in) /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:85:18: note: candidate: 'const T& vec::operator[](unsigned int) const [with T = int]' 85 | const T& operator[](unsigned int index) const { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:219:21: error: ambiguous overload for 'operator[]' (operand types are 'vec' and 'Tint') 219 | max = values[el->max]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:219:21: note: candidate: 'operator[](int*, int)' (built-in) /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:85:18: note: candidate: 'const T& vec::operator[](unsigned int) const [with T = int]' 85 | const T& operator[](unsigned int index) const { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp: In member function 'virtual void IntVarSL::channel(int, LitRel, int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:228:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 228 | vals[values[val]] = 0; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:228:32: note: candidate 2: 'operator[](int*, int)' (built-in) 228 | vals[values[val]] = 0; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:230:21: error: ambiguous overload for 'operator[]' (operand types are 'vec' and 'Tint') 230 | min = values[el->min]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:230:21: note: candidate: 'operator[](int*, int)' (built-in) /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:85:18: note: candidate: 'const T& vec::operator[](unsigned int) const [with T = int]' 85 | const T& operator[](unsigned int index) const { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:231:21: error: ambiguous overload for 'operator[]' (operand types are 'vec' and 'Tint') 231 | max = values[el->max]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-sl.cpp:231:21: note: candidate: 'operator[](int*, int)' (built-in) /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:85:18: note: candidate: 'const T& vec::operator[](unsigned int) const [with T = int]' 85 | const T& operator[](unsigned int index) const { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ --- CMakeFiles/chuffed.dir/chuffed/vars/int-var-ll.cpp.o --- *** [CMakeFiles/chuffed.dir/chuffed/vars/int-var-ll.cpp.o] Error code 1 make[2]: stopped making "CMakeFiles/chuffed.dir/build" in /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:24, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:27, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/parser.tab.cpp:78: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::LitSort::operator()(Lit, Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/misc.h:22, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/engine.h:4, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:26: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:69: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:85: note: candidate 2: 'operator[](int*, int)' (built-in) 51 | bool operator()(Lit i, Lit j) { return (level[var(i)] > level[var(j)]); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'bool SAT::isRootLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:88: note: candidate 2: 'operator[](int*, int)' (built-in) 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'int SAT::getLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:62: note: candidate 2: 'operator[](int*, int)' (built-in) 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::incVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:27: note: candidate 2: 'operator[](int*, int)' (built-in) 233 | num_used[v]++; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'void SAT::decVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:27: note: candidate 2: 'operator[](int*, int)' (built-in) 240 | num_used[v]--; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp: In member function 'void BoolView::attach(Propagator*, int, int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp:14:56: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 14 | sat.watches[2 * v + static_cast(s)].push(we); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp:14:56: note: candidate 2: 'operator[](vec*, int)' (built-in) 14 | sat.watches[2 * v + static_cast(s)].push(we); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h: In member function 'Clause* SAT::getExpl(Lit)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:40: note: candidate 2: 'operator[](Reason*, int)' (built-in) 245 | const Reason& r = reason[var(p)]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:55: note: candidate 2: 'operator[](int*, int)' (built-in) 250 | btToPos(index, trailpos[var(p)]); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp:17:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 17 | sat.watches[2 * v + (1 - static_cast(s))].push(we); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp:17:62: note: candidate 2: 'operator[](vec*, int)' (built-in) 17 | sat.watches[2 * v + (1 - static_cast(s))].push(we); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp: In member function 'virtual double BoolView::getScore(VarBranch)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp:51:82: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 51 | const vec& ws = sat.watches[toInt(getValLit())]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp:51:82: note: candidate 2: 'operator[](vec*, int)' (built-in) 51 | const vec& ws = sat.watches[toInt(getValLit())]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp:55:82: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 55 | const vec& ws = sat.watches[toInt(getValLit())]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp:55:82: note: candidate 2: 'operator[](vec*, int)' (built-in) 55 | const vec& ws = sat.watches[toInt(getValLit())]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp:59:46: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 59 | return sat.activity[v]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = double]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.cpp:59:46: note: candidate 2: 'operator[](double*, int)' (built-in) 59 | return sat.activity[v]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp: In member function 'void IntVarEL::setVLearnable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:174:44: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 174 | sat.flags[base_vlit / 2 + i].setLearnable(b); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:174:44: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 174 | sat.flags[base_vlit / 2 + i].setLearnable(b); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:175:44: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 175 | sat.flags[base_vlit / 2 + i].setUIPable(b); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:175:44: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 175 | sat.flags[base_vlit / 2 + i].setUIPable(b); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp: In member function 'void IntVarEL::setBLearnable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:181:50: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 181 | sat.flags[(base_blit - 1) / 2 + i].setLearnable(b); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:181:50: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 181 | sat.flags[(base_blit - 1) / 2 + i].setLearnable(b); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:182:50: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 182 | sat.flags[(base_blit - 1) / 2 + i].setUIPable(b); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:182:50: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 182 | sat.flags[(base_blit - 1) / 2 + i].setUIPable(b); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp: In member function 'void IntVarEL::setVDecidable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:188:44: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 188 | sat.flags[base_vlit / 2 + i].setDecidable(b); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:188:44: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 188 | sat.flags[base_vlit / 2 + i].setDecidable(b); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp: In member function 'void IntVarEL::setBDecidable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:194:50: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 194 | sat.flags[(base_blit - 1) / 2 + i].setDecidable(b); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:194:50: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 194 | sat.flags[(base_blit - 1) / 2 + i].setDecidable(b); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp: In member function 'Lit IntVarEL::createSetLit(vec&)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:446:64: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 446 | const ChannelInfo& ci = sat.c_info[var(head[i])]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:446:64: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 446 | const ChannelInfo& ci = sat.c_info[var(head[i])]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:464:64: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 464 | const ChannelInfo& ci = sat.c_info[var(head[i])]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = ChannelInfo]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:464:64: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 464 | const ChannelInfo& ci = sat.c_info[var(head[i])]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:509:25: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 509 | sat.flags[var(q)].setUIPable(false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:509:25: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 509 | sat.flags[var(q)].setUIPable(false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:510:25: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 510 | sat.flags[var(q)].setLearnable(false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:510:25: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 510 | sat.flags[var(q)].setLearnable(false); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:513:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 513 | ps[1] = ~q; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Lit]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:513:13: note: candidate 2: 'operator[](Lit*, int)' (built-in) 513 | ps[1] = ~q; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:517:47: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 517 | sat.addClause(getGELit(holes[0]), ~q); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:517:47: note: candidate 2: 'operator[](int*, int)' (built-in) 517 | sat.addClause(getGELit(holes[0]), ~q); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:518:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 518 | lower_bound = holes[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:518:38: note: candidate 2: 'operator[](int*, int)' (built-in) 518 | lower_bound = holes[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:529:71: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 529 | if (j < static_cast(holes.size()) && i == holes[j]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:529:71: note: candidate 2: 'operator[](int*, int)' (built-in) 529 | if (j < static_cast(holes.size()) && i == holes[j]) { | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:533:21: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 533 | ps[0] = getNELit(i); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Lit]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-el.cpp:533:21: note: candidate 2: 'operator[](Lit*, int)' (built-in) 533 | ps[0] = getNELit(i); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h: In member function 'void Propagator::pushInQueue()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:55:48: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 55 | engine.p_queue[priority].push(this); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:55:48: note: candidate 2: 'operator[](vec*, int)' (built-in) 55 | engine.p_queue[priority].push(this); | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/primitives/primitives.h:71, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/globals/globals.h:6, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:153: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual void BoolView::setPreferredVal(PreferredVal)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:39: note: candidate 2: 'operator[](bool*, int)' (built-in) 31 | sat.polarity[v] = s; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFixed() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isTrue() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:51: note: candidate 2: 'operator[](signed char*, int)' (built-in) 43 | bool isTrue() const { return sat.assigns[v] == 1 - 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::isFalse() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:52: note: candidate 2: 'operator[](signed char*, int)' (built-in) 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'int BoolView::getVal() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:38: note: candidate 2: 'operator[](signed char*, int)' (built-in) 47 | return (sat.assigns[v] + 1) / 2 ^ static_cast(s); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'Lit BoolView::getValLit() const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:46: note: candidate 2: 'operator[](signed char*, int)' (built-in) 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'virtual DecInfo* BoolView::branch()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:85: note: candidate 2: 'operator[](bool*, int)' (built-in) 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'bool BoolView::setValNotR(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = signed char]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:61: note: candidate 2: 'operator[](signed char*, int)' (built-in) 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setLearnable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setDecidable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:62: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h: In member function 'void BoolView::setUIPable(bool) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:58: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 90 | void setUIPable(bool UIPable) const { sat.flags[v].setUIPable(UIPable); } | ^ --- CMakeFiles/chuffed.dir/chuffed/vars/int-var-sl.cpp.o --- *** [CMakeFiles/chuffed.dir/chuffed/vars/int-var-sl.cpp.o] Error code 1 make[2]: stopped making "CMakeFiles/chuffed.dir/build" in /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h: In member function 'virtual void FlatZinc::FlatZincSpace::print(std::ostream&)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:419:86: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 419 | const BoolView b = bv[aia->a[0]->getBoolVar()]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = BoolView]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:419:86: note: candidate 2: 'operator[](BoolView*, int)' (built-in) 419 | const BoolView b = bv[aia->a[0]->getBoolVar()]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h: In member function 'void FlatZinc::ParserState::postOnRestartPropagators()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:638:64: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 638 | last_val(&fg->bv[last_val_bool[i].first], &(fg->bool_last_val[i].second)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = BoolView]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:638:64: note: candidate 2: 'operator[](BoolView*, int)' (built-in) 638 | last_val(&fg->bv[last_val_bool[i].first], &(fg->bool_last_val[i].second)); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:643:112: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 643 | std::array{last_val_int[i].second, fg->iv[last_val_int[i].first]->getMin()}; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:643:112: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 643 | std::array{last_val_int[i].second, fg->iv[last_val_int[i].first]->getMin()}; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:644:62: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 644 | last_val(fg->iv[last_val_int[i].first], &(fg->int_last_val[i][1])); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:644:62: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 644 | last_val(fg->iv[last_val_int[i].first], &(fg->int_last_val[i][1])); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/parser.tab.cpp: In function 'void initfg(FlatZinc::ParserState*)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/parser.tab.cpp:252:67: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 252 | BoolView newiv = pp->fg->bv[pp->fg->boolVarCount-1]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = BoolView]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/parser.tab.cpp:252:67: note: candidate 2: 'operator[](BoolView*, int)' (built-in) 252 | BoolView newiv = pp->fg->bv[pp->fg->boolVarCount-1]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/parser.tab.cpp: In function 'int yyparse(void*)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/parser.tab.cpp:2838:72: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 2838 | mark_complete(pp->fg->bv[c.args->a[0]->getBoolVar()], &pp->fg->mark_complete); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:12: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = BoolView]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/parser.tab.cpp:2838:72: note: candidate 2: 'operator[](BoolView*, int)' (built-in) 2838 | mark_complete(pp->fg->bv[c.args->a[0]->getBoolVar()], &pp->fg->mark_complete); | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp: In constructor 'ValSeqSym::ValSeqSym(int, int, vec&, vec&)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/ldsb/ldsb.cpp:675:40: warning: argument 1 range [2147483648, 4294967295] exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 675 | active = (Tchar*)malloc(static_cast(n) * sizeof(Tchar)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/g++/cstdlib:75, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:5: /usr/include/stdlib.h:116:10: note: in a call to allocation function 'void* malloc(size_t)' declared here 116 | void *malloc(size_t); | ^~~~~~ make[2]: 2 errors make[2]: stopped making "CMakeFiles/chuffed.dir/build" in /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build --- CMakeFiles/chuffed.dir/all --- *** [CMakeFiles/chuffed.dir/all] Error code 2 make[1]: stopped making "all" in /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build --- CMakeFiles/flatzinc_parser.dir/all --- *** [CMakeFiles/flatzinc_parser.dir/all] Error code 6 make[1]: stopped making "all" in /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build make[1]: 2 errors make[1]: stopped making "all" in /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build *** [all] Error code 2 make: stopped making "all" in /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build make: 1 error make: stopped making "all" in /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build *** Error code 2 Stop. make[1]: stopped making "all" in /usr/pkgsrc/math/chuffed *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/math/chuffed