=> 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 [ 0%] Built target thirdparty_cp_profiler [ 1%] [FLEX][FZNLexer] Building scanner with flex 2.6.4 [ 3%] [BISON][FZNParser] Building parser with bison 3.8.2 [ 4%] Building CXX object CMakeFiles/thirdparty_murmur.dir/thirdparty/MurmurHash3/MurmurHash3.cpp.o [ 4%] Built target thirdparty_murmur [ 6%] Building CXX object CMakeFiles/flatzinc_parser.dir/parser.tab.cpp.o [ 8%] Building CXX object CMakeFiles/flatzinc_parser.dir/lexer.yy.cpp.o [ 9%] Building CXX object CMakeFiles/chuffed.dir/chuffed/vars/int-var-sl.cpp.o [ 11%] Building CXX object CMakeFiles/chuffed.dir/chuffed/vars/int-var-ll.cpp.o [ 13%] Building CXX object CMakeFiles/chuffed.dir/chuffed/vars/bool-view.cpp.o [ 14%] Building CXX object CMakeFiles/chuffed.dir/chuffed/vars/modelling.cpp.o [ 16%] Building CXX object CMakeFiles/chuffed.dir/chuffed/vars/int-var-el.cpp.o [ 16%] Building CXX object CMakeFiles/chuffed.dir/chuffed/vars/int-var.cpp.o 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: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: 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:51:55: 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: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: 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:51:71: 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: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: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:203:74: 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: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: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:208:41: 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: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: 233 | num_used[v]++; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:233:13: 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: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: 240 | num_used[v]--; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:240:13: 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: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: 245 | const Reason& r = reason[var(p)]; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:245:33: 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: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: 250 | btToPos(index, trailpos[var(p)]); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:250:34: 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/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/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: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: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/vars/bool-view.h:28:18: 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: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: 31 | sat.polarity[v] = s; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/vars/bool-view.h:31:18: 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: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: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ 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, 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/support/vec.h:86:5: 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/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/vars/bool-view.h:42:45: 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: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: 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/support/misc.h:22, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.h:4, 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/support/vec.h:86:5: 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/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/vars/bool-view.h:43:44: 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: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: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ 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, 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/support/vec.h:86:5: 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/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/vars/bool-view.h:44:45: 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:24: warning: 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); | ^ 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, 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/support/vec.h:86:5: 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/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/vars/bool-view.h:47:24: 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: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: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ 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, 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/support/vec.h:86:5: 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/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/vars/bool-view.h:54:32: 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: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: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/vars/bool-view.h:63:71: 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: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: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ 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, 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/support/vec.h:86:5: 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/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/vars/bool-view.h:68:54: 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: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: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/vars/bool-view.h:86:55: 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: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: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/vars/bool-view.h:88:55: 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: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: 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/support/misc.h:22, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/modelling.h:4, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/vars/bool-view.h:90:51: 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/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: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: 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:51:55: 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: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: 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:51:71: 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: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: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:203:74: 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: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: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:208:41: 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: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: 233 | num_used[v]++; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:233:13: 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: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: 240 | num_used[v]--; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:240:13: 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: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: 245 | const Reason& r = reason[var(p)]; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:245:33: 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: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: 250 | btToPos(index, trailpos[var(p)]); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:250:34: 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-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: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: 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:51:55: 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: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: 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:51:71: 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: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: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:203:74: 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: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: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:208:41: 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: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: 233 | num_used[v]++; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:233:13: 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: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: 240 | num_used[v]--; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:240:13: 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: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: 245 | const Reason& r = reason[var(p)]; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:245:33: 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: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: 250 | btToPos(index, trailpos[var(p)]); | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:250:34: 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: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: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:28:18: 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: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: 31 | sat.polarity[v] = s; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:31:18: 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: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: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ 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:5: 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/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:42:45: 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: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: 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/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:5: 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/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:43:44: 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: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: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ 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:5: 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/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:44:45: 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:24: warning: 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); | ^ 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:5: 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/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:47:24: 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: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: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ 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:5: 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/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:54:32: 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: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: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:63:71: 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: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: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ 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:5: 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/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:68:54: 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: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: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:86:55: 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: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: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:88:55: 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: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: 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/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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:90:51: 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/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/propagator.h: In member function 'void Propagator::pushInQueue()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:55: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: 55 | engine.p_queue[priority].push(this); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/propagator.h:55:27: 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 constructor 'IntVarLL::IntVarLL(const IntVar&)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var-ll.cpp:23:6: warning: 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; | ^ 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:5: 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:6: 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:6: warning: 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; | ^ 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:5: 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:6: 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:6: warning: 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; | ^ 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:5: 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:6: 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:6: warning: 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; | ^ 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:5: 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:6: 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:6: warning: 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; | ^ 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:5: 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:6: 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:6: warning: 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; | ^ 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:5: 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:6: 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:6: warning: 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; | ^ 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:5: 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:6: 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:6: warning: 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; | ^ 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:5: 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:6: 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: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: 37 | sat.flags[v].setDecidable(false); | ^ 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:5: 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:13: 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: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: 38 | sat.flags[v].setUIPable(false); | ^ 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:5: 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:13: 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: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: 39 | sat.flags[v].setLearnable(false); | ^ 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:5: 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:13: note: candidate 2: 'operator[](LitFlags*, int)' (built-in) 39 | sat.flags[v].setLearnable(false); | ^ 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, 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/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: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: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/vars/bool-view.h:28:18: 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: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: 31 | sat.polarity[v] = s; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/vars/bool-view.h:31:18: 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: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: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ 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, 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/support/vec.h:86:5: 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/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, 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/vars/bool-view.h:42:45: 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: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: 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/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, 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/support/vec.h:86:5: 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/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, 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/vars/bool-view.h:43:44: 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: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: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ 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, 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/support/vec.h:86:5: 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/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, 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/vars/bool-view.h:44:45: 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:24: warning: 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); | ^ 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, 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/support/vec.h:86:5: 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/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, 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/vars/bool-view.h:47:24: 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: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: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ 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, 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/support/vec.h:86:5: 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/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, 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/vars/bool-view.h:54:32: 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: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: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/vars/bool-view.h:63:71: 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: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: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ 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, 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/support/vec.h:86:5: 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/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, 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/vars/bool-view.h:68:54: 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: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: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/vars/bool-view.h:86:55: 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: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: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/vars/bool-view.h:88:55: 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: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: 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/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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/vars/bool-view.h:90:51: 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/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:6: warning: 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); | ^ 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, 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/support/vec.h:86:5: 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:6: 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:7: warning: 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(); | ^ 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, 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/support/vec.h:86:5: 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:7: 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:6: warning: 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); | ^ 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, 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/support/vec.h:86:5: 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:6: 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:7: warning: 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); | ^ 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, 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/support/vec.h:86:5: 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:7: 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:10: warning: 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); | ^ 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, 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/support/vec.h:86:5: 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:10: 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:8: warning: 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(); | ^ 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, 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/support/vec.h:86:5: 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:8: 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:11: warning: 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(); | ^ 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, 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/support/vec.h:86:5: 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:11: 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:6: warning: 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(); | ^ 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, 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/support/vec.h:86:5: 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:6: 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:6: warning: 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); | ^ 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, 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/support/vec.h:86:5: 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:6: 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:7: warning: 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(); | ^ 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, 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/support/vec.h:86:5: 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:7: 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:10: warning: 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(); | ^ 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, 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/support/vec.h:86:5: 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:10: 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-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:15: warning: 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) { | ^ 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:5: 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:15: 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: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: 101 | ni = ld[ni].prev; | ^ 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:5: 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:14: 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:15: warning: 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) { | ^ 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:5: 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:15: 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: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: 107 | ni = ld[ni].next; | ^ 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:5: 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:14: 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:10: warning: 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; | ^ 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:5: 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:10: 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:16: warning: 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; | ^ 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:5: 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:16: 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:30: warning: 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; | ^ 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:5: 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:30: 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:10: warning: 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; | ^ 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:5: 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:10: 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:16: warning: 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; | ^ 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:5: 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:16: 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:30: warning: 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; | ^ 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:5: 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:30: 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: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: 129 | while (ld[ni].val < prev) { | ^ 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:5: 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:14: 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: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: 130 | ni = ld[ni].next; | ^ 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:5: 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:13: 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:11: warning: 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) { | ^ 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:5: 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:11: 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:19: warning: 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); | ^ 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:5: 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:19: 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:7: warning: 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)); | ^ 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:5: 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:7: 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:7: warning: 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; | ^ 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:5: 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:7: 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:7: warning: 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; | ^ 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:5: 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:7: 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:7: warning: 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; | ^ 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:5: 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:7: 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: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: 145 | ld[mi].prev = ld[ni].prev; | ^ 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:5: 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:21: 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:7: warning: 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; | ^ 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:5: 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:7: 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:10: warning: 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; | ^ 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:5: 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:10: 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:16: warning: 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; | ^ 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:5: 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:16: 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: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: 151 | litString.insert(make_pair(ld[mi].var * 2 + 1, ss.str())); | ^ 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:5: 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:34: 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: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: 154 | litString.insert(make_pair(ld[mi].var * 2, ss.str())); | ^ 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:5: 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:34: 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: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: 156 | return Lit(ld[mi].var, true); | ^ 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:5: 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:18: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 156 | return Lit(ld[mi].var, true); | ^ /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:14: 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:14: note: candidate: 'operator[](IntVarLL::LitNode*, int)' (built-in) 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:85:11: 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:5: 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:30: warning: 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) { | ^ 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:5: 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:30: 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: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: 193 | for (ni = ld[li].next; ld[ni].val < prev; ni = ld[ni].next) { | ^ 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:5: 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:54: 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: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: 194 | sat.cEnqueue(Lit(ld[ni].var, true), r); | ^ 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:5: 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:25: 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:14: 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:14: note: candidate: 'operator[](IntVarLL::LitNode*, int)' (built-in) 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:85:11: 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:5: 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:30: warning: 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) { | ^ 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:5: 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:30: 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: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: 205 | for (ni = ld[hi].prev; ld[ni].val > v; ni = ld[ni].prev) { | ^ 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:5: 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:51: 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: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: 206 | sat.cEnqueue(Lit(ld[ni].var, false), r); | ^ 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:5: 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:25: 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: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: 290 | while (ld[ni].val > v) { | ^ 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:5: 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:14: 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: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: 291 | ni = ld[ni].prev; | ^ 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:5: 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:13: 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:11: warning: 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) { | ^ 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:5: 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:11: 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:19: warning: 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); | ^ 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:5: 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:19: 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:7: warning: 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)); | ^ 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:5: 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:7: 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:7: warning: 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; | ^ 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:5: 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:7: 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:7: warning: 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; | ^ 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:5: 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:7: 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:7: warning: 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; | ^ 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:5: 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:7: 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: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: 302 | ld[mi].next = ld[ni].next; | ^ 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:5: 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:21: 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:7: warning: 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; | ^ 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:5: 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:7: 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:10: warning: 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; | ^ 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:5: 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:10: 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:16: warning: 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; | ^ 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:5: 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:16: 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: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: 306 | const Lit p = Lit(ld[ld[mi].next].var, true); | ^ 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:5: 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:28: 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: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: 306 | const Lit p = Lit(ld[ld[mi].next].var, true); | ^ 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:5: 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:34: 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: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: 307 | const Lit q = Lit(ld[ld[mi].prev].var, false); | ^ 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:5: 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:28: 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: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: 307 | const Lit q = Lit(ld[ld[mi].prev].var, false); | ^ 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:5: 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:34: 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:15: warning: 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); | ^ 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:5: 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:15: 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: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: 319 | sat.aEnqueue(Lit(ld[mi].var, true), r, l); | ^ 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:5: 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:25: 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:15: warning: 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); | ^ 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:5: 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:15: 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: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: 329 | sat.aEnqueue(Lit(ld[mi].var, false), r, l); | ^ 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:5: 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:25: 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: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: 332 | return Lit(ld[mi].var, s != 0); | ^ 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:5: 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:18: note: candidate 2: 'operator[](IntVarLL::LitNode*, int)' (built-in) 332 | return Lit(ld[mi].var, s != 0); | ^ 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: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: 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:51:55: 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: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: 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:51:71: 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: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: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:203:74: 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: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: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:208:41: 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: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: 233 | num_used[v]++; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:233:13: 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: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: 240 | num_used[v]--; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:240:13: 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: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: 245 | const Reason& r = reason[var(p)]; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:245:33: 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: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: 250 | btToPos(index, trailpos[var(p)]); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:250:34: 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.cpp:1: /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: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: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:18: 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: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: 31 | sat.polarity[v] = s; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:18: 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: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: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ 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, 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/support/vec.h:86:5: 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/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/vars/bool-view.h:42:45: 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: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: 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/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, 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/support/vec.h:86:5: 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/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/vars/bool-view.h:43:44: 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: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: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ 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, 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/support/vec.h:86:5: 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/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/vars/bool-view.h:44:45: 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:24: warning: 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); | ^ 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, 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/support/vec.h:86:5: 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/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/vars/bool-view.h:47:24: 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: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: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ 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, 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/support/vec.h:86:5: 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/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/vars/bool-view.h:54:32: 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: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: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:71: 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: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: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ 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, 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/support/vec.h:86:5: 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/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/vars/bool-view.h:68:54: 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: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: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:55: 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: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: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:55: 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: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: 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/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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:51: 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/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: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: 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:51:55: 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: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: 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:51:71: 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: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: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:203:74: 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: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: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:208:41: 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: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: 233 | num_used[v]++; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:233:13: 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: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: 240 | num_used[v]--; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:240:13: 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: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: 245 | const Reason& r = reason[var(p)]; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:245:33: 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: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: 250 | btToPos(index, trailpos[var(p)]); | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:250:34: 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: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: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:28:18: 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: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: 31 | sat.polarity[v] = s; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:31:18: 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: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: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ 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:5: 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/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:42:45: 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: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: 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/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:5: 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/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:43:44: 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: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: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ 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:5: 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/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:44:45: 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:24: warning: 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); | ^ 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:5: 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/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:47:24: 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: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: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ 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:5: 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/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:54:32: 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: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: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:63:71: 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: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: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ 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:5: 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/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:68:54: 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: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: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:86:55: 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: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: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:88:55: 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: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: 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/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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:90:51: 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/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: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: 55 | engine.p_queue[priority].push(this); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:55:27: 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/cmake-pkgsrc-build/parser.tab.cpp:78: /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: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: 419 | const BoolView b = bv[aia->a[0]->getBoolVar()]; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = BoolView]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/flatzinc/flatzinc.h:419:51: 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/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:15: warning: 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]) { | ^ 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, 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/support/vec.h:86:5: 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:15: 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:12: warning: 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]; | ^ 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, 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/support/vec.h:86:5: 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:12: note: candidate 2: 'operator[](int*, int)' (built-in) 126 | min = v[0]; | ^ /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/int-var.cpp:133: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: 133 | if (v.last() - v[0] >= static_cast(v.size() * mylog2(v.size()))) { | ^ 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, 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/support/vec.h:86:5: 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:20: 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/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: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: 189 | PropInfo& pi = pinfo[i]; | ^ 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, 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/support/vec.h:86:5: 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:25: note: candidate 2: 'operator[](IntVar::PropInfo*, int)' (built-in) 189 | PropInfo& pi = pinfo[i]; | ^ --- 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 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 'void FlatZinc::ParserState::postOnRestartPropagators()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:638:43: warning: 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)); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = BoolView]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/flatzinc/flatzinc.h:638:43: 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:77: warning: 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()}; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/flatzinc/flatzinc.h:643:77: 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: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: 644 | last_val(fg->iv[last_val_int[i].first], &(fg->int_last_val[i][1])); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/flatzinc/flatzinc.h:644:41: 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]; | ^ 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, 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/support/vec.h:86:5: 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/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:30: warning: 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); | ^ 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:5: 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:30: 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:30: warning: 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); | ^ 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:5: 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:30: 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: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: 181 | sat.flags[(base_blit - 1) / 2 + i].setLearnable(b); | ^ 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:5: 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:36: 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: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: 182 | sat.flags[(base_blit - 1) / 2 + i].setUIPable(b); | ^ 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:5: 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:36: 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:30: warning: 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); | ^ 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:5: 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:30: 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: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: 194 | sat.flags[(base_blit - 1) / 2 + i].setDecidable(b); | ^ 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:5: 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:36: 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: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: 446 | const ChannelInfo& ci = sat.c_info[var(head[i])]; | ^ 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:5: 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:50: 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: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: 464 | const ChannelInfo& ci = sat.c_info[var(head[i])]; | ^ 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:5: 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:50: 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: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: 509 | sat.flags[var(q)].setUIPable(false); | ^ 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:5: 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:18: 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: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: 510 | sat.flags[var(q)].setLearnable(false); | ^ 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:5: 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:18: 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:6: warning: 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; | ^ 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:5: 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:6: 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: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: 517 | sat.addClause(getGELit(holes[0]), ~q); | ^ 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:5: 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:33: 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:24: warning: 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]; | ^ 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:5: 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:24: 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: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: 529 | if (j < static_cast(holes.size()) && i == holes[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:5: 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:57: 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:7: warning: 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); | ^ 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:5: 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:7: note: candidate 2: 'operator[](Lit*, int)' (built-in) 533 | ps[0] = getNELit(i); | ^ /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); | ^ 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, 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/support/vec.h:86:5: 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); | ^ 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: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: 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/core/sat.h:4, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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/lexer.yy.cpp:627: /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: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: 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:55: 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: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: 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:51:71: 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: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: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:203:74: 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: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: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208:41: 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: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: 233 | num_used[v]++; | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233:13: 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: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: 240 | num_used[v]--; | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:240:13: 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: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: 245 | const Reason& r = reason[var(p)]; | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:245:33: 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: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: 250 | btToPos(index, trailpos[var(p)]); | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:250:34: 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/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: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: 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:51:55: 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/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:51:55: 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: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: 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:51:71: 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: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: 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: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: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:203:74: note: candidate 2: 'operator[](int*, int)' (built-in) 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ 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, 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/support/vec.h:86:5: 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 'int SAT::getLevel(int) const': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:208: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: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:208:41: note: candidate 2: 'operator[](int*, int)' (built-in) 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ 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:51:71: 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 'void SAT::incVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233: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: 233 | num_used[v]++; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:233:13: 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: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: 240 | num_used[v]--; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:240:13: 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: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: 245 | const Reason& r = reason[var(p)]; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:245:33: 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: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: 250 | btToPos(index, trailpos[var(p)]); | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:250:34: 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-sl.cpp:2: /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: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: 55 | engine.p_queue[priority].push(this); | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/propagator.h:55:27: 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, 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/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: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: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/vars/bool-view.h:28:18: 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: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: 31 | sat.polarity[v] = s; | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/vars/bool-view.h:31:18: 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: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: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ 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:5: 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/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, 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/vars/bool-view.h:42:45: 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: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: 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/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:5: 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/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, 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/vars/bool-view.h:43:44: 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: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: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ 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:5: 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/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, 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/vars/bool-view.h:44:45: 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:24: warning: 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); | ^ 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:5: 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/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, 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/vars/bool-view.h:47:24: 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: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: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ 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:5: 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/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, 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/vars/bool-view.h:54:32: 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: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: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/vars/bool-view.h:63:71: 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: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: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ 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:5: 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/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, 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/vars/bool-view.h:68:54: 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: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: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/vars/bool-view.h:86:55: 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: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: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ 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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/vars/bool-view.h:88:55: 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: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: 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/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:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/vars/bool-view.h:90:51: 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/flatzinc/flatzinc.h:27, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /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: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: 55 | engine.p_queue[priority].push(this); | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/propagator.h:55:27: 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/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: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: 203 | return engine.trail_lim.size() == 0 || trailpos[v] < engine.trail_lim[0]; | ^ 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, 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/lexer.yy.cpp:627: /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: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: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:28:18: 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: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: 31 | sat.polarity[v] = s; | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:31:18: 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: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: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: 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/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, 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:45: 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: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: 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/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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: 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/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, 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:44: 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: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: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: 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/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, 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:45: 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:24: warning: 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); | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: 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/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, 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:24: 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: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: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: 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/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, 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:32: 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: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: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:63:71: 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: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: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: 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/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, 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:54: 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: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: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:86:55: 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: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: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:88:55: 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: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: 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/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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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, 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/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:90:51: 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-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: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: 55 | if (i == values[k]) { | ^ 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:5: 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:20: 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: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: 94 | sat.c_info[var(p)].cons_id = var_id; | ^ 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:5: 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:20: 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: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: 98 | sat.c_info[var(p)].cons_id = var_id; | ^ 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:5: 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:20: note: candidate 2: 'operator[](ChannelInfo*, int)' (built-in) 98 | sat.c_info[var(p)].cons_id = var_id; | ^ 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, 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/support/vec.h:86:5: 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: 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:14: 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:14: note: candidate: 'operator[](int*, int)' (built-in) 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:85:11: 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:5: 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:14: 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:14: note: candidate: 'operator[](int*, int)' (built-in) 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:85:11: 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:5: 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:14: 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:14: note: candidate: 'operator[](int*, int)' (built-in) 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:85:11: 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:5: 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:14: 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:14: note: candidate: 'operator[](int*, int)' (built-in) 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:85:11: note: candidate: 'const T& vec::operator[](unsigned int) const [with T = int]' 85 | const T& operator[](unsigned int index) const { return data[index]; } | ^~~~~~~~ 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:203:74: 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/support/vec.h:86:5: 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: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: 228 | vals[values[val]] = 0; | ^ 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:5: 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:18: 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:14: 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:14: note: candidate: 'operator[](int*, int)' (built-in) 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:85:11: 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:5: 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:14: 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:14: note: candidate: 'operator[](int*, int)' (built-in) 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:85:11: 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:5: 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/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: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: 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ --- 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 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/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:208:41: note: candidate 2: 'operator[](int*, int)' (built-in) 208 | if (trailpos[v] >= engine.trail_lim[i]) { | ^ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /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: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: 419 | const BoolView b = bv[aia->a[0]->getBoolVar()]; | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = BoolView]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:419:51: 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/core/sat.h: In member function 'void SAT::incVarUse(int)': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/core/sat.h:233: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: 233 | num_used[v]++; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:233:13: 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: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: 240 | num_used[v]--; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:240:13: 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: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: 245 | const Reason& r = reason[var(p)]; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = Reason]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:245:33: 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: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: 250 | btToPos(index, trailpos[var(p)]); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = int]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:250:34: 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/bool-view.cpp:1: /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: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: 28 | sat.polarity[v] = ((static_cast(s) ^ 1) != 0); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/vars/bool-view.h:28:18: 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: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: 31 | sat.polarity[v] = s; | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/vars/bool-view.h:31:18: 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: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: 42 | bool isFixed() const { return sat.assigns[v] != 0; } | ^ 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, 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/support/vec.h:86:5: 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/vars/bool-view.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:42:45: 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: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: 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/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, 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/support/vec.h:86:5: 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/vars/bool-view.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:43:44: 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: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: 44 | bool isFalse() const { return sat.assigns[v] == -1 + 2 * static_cast(s); } | ^ 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, 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/support/vec.h:86:5: 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/vars/bool-view.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:44:45: 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:24: warning: 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); | ^ 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, 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/support/vec.h:86:5: 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/vars/bool-view.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:47:24: 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: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: 54 | return Lit(v, ((sat.assigns[v] + 1) / 2) != 0); | ^ 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, 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/support/vec.h:86:5: 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/vars/bool-view.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:54:32: 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: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: 63 | return new DecInfo(nullptr, 2 * v + static_cast((sat.polarity[v]))); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = bool]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/vars/bool-view.h:63:71: 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: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: 68 | bool setValNotR(bool x) const { return sat.assigns[v] != (x ^ s) * 2 - 1; } | ^ 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, 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/support/vec.h:86:5: 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/vars/bool-view.cpp:1: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/vars/bool-view.h:68:54: 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: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: 86 | void setLearnable(bool learnable) const { sat.flags[v].setLearnable(learnable); } | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/vars/bool-view.h:86:55: 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: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: 88 | void setDecidable(bool decidable) const { sat.flags[v].setDecidable(decidable); } | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/vars/bool-view.h:88:55: 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: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: 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/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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = LitFlags]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included 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/vars/bool-view.h:90:51: 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/flatzinc/flatzinc.h: In member function 'void FlatZinc::ParserState::postOnRestartPropagators()': /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:638:43: warning: 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)); | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = BoolView]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:638:43: 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:77: warning: 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()}; | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:643:77: 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: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: 644 | last_val(fg->iv[last_val_int[i].first], &(fg->int_last_val[i][1])); | ^ 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, from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = IntVar*]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ In file included from /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build/lexer.yy.cpp:627: /pbulk/work/math/chuffed/work/chuffed-0.14.0/chuffed/flatzinc/flatzinc.h:644:41: note: candidate 2: 'operator[](IntVar**, int)' (built-in) 644 | last_val(fg->iv[last_val_int[i].first], &(fg->int_last_val[i][1])); | ^ 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: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: 55 | engine.p_queue[priority].push(this); | ^ 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, 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/support/vec.h:86:5: note: candidate 1: 'T& vec::operator[](unsigned int) [with T = vec]' 86 | T& operator[](unsigned int index) { return data[index]; } | ^~~~~~~~ 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:55:27: 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/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: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: 14 | sat.watches[2 * v + static_cast(s)].push(we); | ^ 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, 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/support/vec.h:86:5: 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:42: 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/vars/bool-view.cpp:17: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: 17 | sat.watches[2 * v + (1 - static_cast(s))].push(we); | ^ 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, 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/support/vec.h:86:5: 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:48: 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: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: 51 | const vec& ws = sat.watches[toInt(getValLit())]; | ^ 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, 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/support/vec.h:86:5: 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:61: 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: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: 55 | const vec& ws = sat.watches[toInt(getValLit())]; | ^ 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, 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/support/vec.h:86:5: 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:61: 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: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: 59 | return sat.activity[v]; | ^ 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, 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/support/vec.h:86:5: 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:25: note: candidate 2: 'operator[](double*, int)' (built-in) 59 | return sat.activity[v]; | ^ 2 errors make[2]: stopped 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 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 in /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build 2 errors make[1]: stopped in /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build *** [all] Error code 2 make: stopped in /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build 1 error make: stopped in /pbulk/work/math/chuffed/work/chuffed-0.14.0/cmake-pkgsrc-build *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/math/chuffed *** Error code 1 Stop. make: stopped in /usr/pkgsrc/math/chuffed