D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/noteye-8.3-5.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.zRMewE + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf noteye-8.3 + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/noteye-8.3.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd noteye-8.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/noteye-8.3-mga-games-install-dir-and-lua5.1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/noteye-8.3-gcc7.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.uuAO8O + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd noteye-8.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/make -O -j4 V=1 VERBOSE=1 -C src make: Entering directory '/home/iurt/rpmbuild/BUILD/noteye-8.3/src' g++ -fpic -I. noteye-jni.cpp -c -o noteye-jni.o -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DHYDRA -DLINUX -DOPENGL -O9 make: Leaving directory '/home/iurt/rpmbuild/BUILD/noteye-8.3/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/noteye-8.3/src' g++ ../hydra/hydra.cpp -c -o hydra.o -DNOTEYE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DHYDRA -DLINUX -DOPENGL -O9 ../hydra/hydra.cpp:1228:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1228 | addMessage("Welcome to Hydra Slayer v"VER"!"); | ^ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp: In function 'int getPrimeIndex(int)': ../hydra/utils.cpp:196:10: error: call of overloaded 'size(std::vector&)' is ambiguous 196 | if(size(sieve) == 0) { | ~~~~^~~~~~~ ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ ../hydra/hydra.cpp: In function 'hydra* twinAlive()': ../hydra/hydra.cpp:137:22: error: call of overloaded 'size(std::vector&)' is ambiguous 137 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:202: ../hydra/level.cpp: In function 'void bfs(int, bool)': ../hydra/level.cpp:230:18: error: call of overloaded 'size(std::vector&)' is ambiguous 230 | while(qs < size(d)) { | ~~~~^~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:202: ../hydra/level.cpp:266:24: error: call of overloaded 'size(std::vector&)' is ambiguous 266 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:202: ../hydra/level.cpp: In function 'bool verifyConnected(int)': ../hydra/level.cpp:378:22: error: call of overloaded 'size(std::vector&)' is ambiguous 378 | for(int i=1; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:202: ../hydra/level.cpp: In function 'void ensureConnected()': ../hydra/level.cpp:389:22: error: call of overloaded 'size(std::vector&)' is ambiguous 389 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:202: ../hydra/level.cpp:391:22: error: call of overloaded 'size(std::vector&)' is ambiguous 391 | for(int i=1; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:202: ../hydra/level.cpp:394:29: error: call of overloaded 'size(std::vector&)' is ambiguous 394 | do { r = rand() % size(av); } while(vindex(av[r]) != vindex(av[0])); | ~~~~^~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:202: ../hydra/level.cpp: In function 'void generateLevel()': ../hydra/level.cpp:1158:24: error: call of overloaded 'size(std::vector&)' is ambiguous 1158 | for(int i=0; iput(); | ~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:202: ../hydra/level.cpp: In function 'void generateGame()': ../hydra/level.cpp:1237:40: error: call of overloaded 'size(std::vector&)' is ambiguous 1237 | hydra *H = (hydra*) toput[i][size(toput[i])-1-rand() % 10]; | ~~~~^~~~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:202: ../hydra/level.cpp:1366:50: error: call of overloaded 'size(std::vector&)' is ambiguous 1366 | for(int u=0; u]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:203: ../hydra/weapons.cpp: In member function 'void hydraAnalyzer::addEdge(int, int, int, int)': ../hydra/weapons.cpp:1353:19: error: call of overloaded 'size(std::vector&)' is ambiguous 1353 | int i = size(cf); | ~~~~^~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:203: ../hydra/weapons.cpp: In member function 'void hydraAnalyzer::addWoundRec(int, int, int, int, int)': ../hydra/weapons.cpp:1372:19: error: call of overloaded 'size(std::vector&)' is ambiguous 1372 | int i = size(wrec); | ~~~~^~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:204: ../hydra/monster.cpp: In member function 'int shieldinfo::ehcntx(int)': ../hydra/monster.cpp:70:15: error: call of overloaded 'size(std::vector&)' is ambiguous 70 | if(q >= size(ehcnt)) { | ~~~~^~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:204: ../hydra/monster.cpp: In member function 'int shieldinfo::usize(int)': ../hydra/monster.cpp:91:16: error: call of overloaded 'size(std::vector&)' is ambiguous 91 | if(siz < size(shused)) return shused[siz]; | ~~~~^~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:204: ../hydra/monster.cpp: In member function 'void cell::hydraDead(hydra*)': ../hydra/monster.cpp:149:22: error: call of overloaded 'size(std::vector&)' is ambiguous 149 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:204: ../hydra/monster.cpp:150:26: error: call of overloaded 'size(std::vector&)' is ambiguous 150 | for(int j=i+1; j]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:204: ../hydra/monster.cpp:151:23: error: call of overloaded 'size(std::vector&)' is ambiguous 151 | hydras.resize(size(hydras)-1); | ~~~~^~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:204: ../hydra/monster.cpp: In function 'void hydraAttackPlayer(hydra*, bool)': ../hydra/monster.cpp:302:17: error: call of overloaded 'size(std::string&)' is ambiguous 302 | if(verb[size(verb)-1] == 'h') verb += "e"; | ~~~~^~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::__cxx11::basic_string]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::__cxx11::basic_string; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:204: ../hydra/monster.cpp: In function 'void popStairQueue()': ../hydra/monster.cpp:749:15: error: call of overloaded 'size(std::vector&)' is ambiguous 749 | int n = size(stairqueue); | ~~~~^~~~~~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:204: ../hydra/monster.cpp: In function 'void moveHydras()': ../hydra/monster.cpp:771:22: error: call of overloaded 'size(std::vector&)' is ambiguous 771 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:204: ../hydra/monster.cpp: In function 'bool specialMove(hydra*)': ../hydra/monster.cpp:1067:26: error: call of overloaded 'size(std::vector&)' is ambiguous 1067 | for(int hi=0; hi]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:204: ../hydra/monster.cpp:1081:26: error: call of overloaded 'size(std::vector&)' is ambiguous 1081 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ ../hydra/hydra.cpp: In function 'void movedir(int)': ../hydra/hydra.cpp:348:24: error: call of overloaded 'size(std::vector&)' is ambiguous 348 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ ../hydra/hydra.cpp: In function 'bool canGoDown()': ../hydra/hydra.cpp:1074:22: error: call of overloaded 'size(std::vector&)' is ambiguous 1074 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1110: ../hydra/save.cpp: In function 'void saveGame(std::string)': ../hydra/save.cpp:49:25: error: call of overloaded 'size(std::vector&)' is ambiguous 49 | stats.whistSize = size(pinfo.whist); | ~~~~^~~~~~~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1110: ../hydra/save.cpp:50:22: error: call of overloaded 'size(std::vector&)' is ambiguous 50 | P.stairqueue = size(stairqueue); | ~~~~^~~~~~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1110: ../hydra/save.cpp:67:25: error: call of overloaded 'size(std::vector&)' is ambiguous 67 | int trollsize = size(pinfo.trollwpn); | ~~~~^~~~~~~~~~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1110: ../hydra/save.cpp:87:31: error: call of overloaded 'size(std::vector&)' is ambiguous 87 | save(i); for(int i=0; icsave(); | ~~~~^~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1110: ../hydra/save.cpp: In function 'void loadGame(std::string)': ../hydra/save.cpp:253:22: error: call of overloaded 'size(std::vector&)' is ambiguous 253 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1111: ../hydra/achieve.cpp: In function 'void viewNumAchievements(const std::vector&, bool)': ../hydra/achieve.cpp:94:22: error: call of overloaded 'size(const std::vector&)' is ambiguous 94 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1111: ../hydra/achieve.cpp: In function 'void viewAchievements(const std::vector&, bool)': ../hydra/achieve.cpp:213:22: error: call of overloaded 'size(const std::vector&)' is ambiguous 213 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1112: ../hydra/mainmenu.cpp: In function 'void addCurrentInfoToLog()': ../hydra/mainmenu.cpp:277:10: error: call of overloaded 'size(std::vector&)' is ambiguous 277 | if(size(pinfo.trollkey)) { | ~~~~^~~~~~~~~~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1112: ../hydra/mainmenu.cpp:280:24: error: call of overloaded 'size(std::vector&)' is ambiguous 280 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1112: ../hydra/mainmenu.cpp:312:18: error: call of overloaded 'size(std::vector >&)' is ambiguous 312 | int from = size(msgs)-loglines; | ~~~~^~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector >]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector >; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1112: ../hydra/mainmenu.cpp:314:25: error: call of overloaded 'size(std::vector >&)' is ambiguous 314 | for(int f=from; f >]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector >; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1112: ../hydra/mainmenu.cpp: In function 'void viewHall(bool)': ../hydra/mainmenu.cpp:405:20: error: call of overloaded 'size(std::vector&)' is ambiguous 405 | if(at >= size(pi)) break; | ~~~~^~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1112: ../hydra/mainmenu.cpp:524:39: error: call of overloaded 'size(std::vector&)' is ambiguous 524 | if(c == D_END ) startat = size(pi); | ~~~~^~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1112: ../hydra/mainmenu.cpp:525:26: error: call of overloaded 'size(std::vector&)' is ambiguous 525 | if(startat > size(pi)-17) startat = size(pi) - 17; | ~~~~^~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1112: ../hydra/mainmenu.cpp:525:49: error: call of overloaded 'size(std::vector&)' is ambiguous 525 | if(startat > size(pi)-17) startat = size(pi) - 17; | ~~~~^~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1112: ../hydra/mainmenu.cpp: In function 'void clearGame()': ../hydra/mainmenu.cpp:535:24: error: call of overloaded 'size(std::vector&)' is ambiguous 535 | for(int j=0; j]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1112: ../hydra/mainmenu.cpp:540:13: error: call of overloaded 'size(std::vector&)' is ambiguous 540 | while(size(hydras)) | ~~~~^~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1112: ../hydra/mainmenu.cpp: In function 'void mainmenu()': ../hydra/mainmenu.cpp:826:30: error: call of overloaded 'size(std::vector >&)' is ambiguous 826 | for(int i=0; i >]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector >; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1112: ../hydra/mainmenu.cpp: In function 'bool selectRace()': ../hydra/mainmenu.cpp:926:26: error: call of overloaded 'size(std::string&)' is ambiguous 926 | for(int l=0; l]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::__cxx11::basic_string; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp: In function 'int lh_getSounds(lua_State*)': ../hydra/ui.cpp:46:22: error: call of overloaded 'size(std::vector&)' is ambiguous 46 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp: In function 'void viewMultiLine(std::string, int&)': ../hydra/ui.cpp:240:15: error: call of overloaded 'size(std::string&)' is ambiguous 240 | cut = size(s); | ~~~~^~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::__cxx11::basic_string]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::__cxx11::basic_string; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp:242:39: error: call of overloaded 'size(std::string&)' is ambiguous 242 | for(int x=0; x]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::__cxx11::basic_string; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp: In function 'void drawScreen()': ../hydra/ui.cpp:607:22: error: call of overloaded 'size(std::vector&)' is ambiguous 607 | for(int i=0; iaware()) { | ~~~~^~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp:710:33: error: call of overloaded 'size(std::vector >&)' is ambiguous 710 | move(SY, 0); addstri(msgs[size(msgs)-2]); | ~~~~^~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector >]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector >; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp:711:35: error: call of overloaded 'size(std::vector >&)' is ambiguous 711 | move(SY+1, 0); addstri(msgs[size(msgs)-1]); | ~~~~^~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector >]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector >; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp: In function 'void fullHydraInfo()': ../hydra/ui.cpp:809:22: error: call of overloaded 'size(std::vector&)' is ambiguous 809 | for(int i=0; iaware()) { | ~~~~^~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp: In function 'bool viewHelpForItem(int)': ../hydra/ui.cpp:922:42: error: call of overloaded 'size(std::vector >&)' is ambiguous 922 | col(15); move(23, 0); addstri(msgs[size(msgs)-1]); | ~~~~^~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector >]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector >; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp: In function 'bool trollcmp(int, int)': ../hydra/ui.cpp:1218:26: error: call of overloaded 'size(std::string&)' is ambiguous 1218 | for(int i = 0; i < size(sortorder); i++) switch(sortorder[i]) { | ~~~~^~~~~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::__cxx11::basic_string]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::__cxx11::basic_string; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp: In function 'bool quickGet(weapon*&)': ../hydra/ui.cpp:1242:15: error: call of overloaded 'size(std::vector&)' is ambiguous 1242 | int s = size(pinfo.trollwpn); | ~~~~^~~~~~~~~~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp: In function 'bool viewTrollInventory()': ../hydra/ui.cpp:1273:15: error: call of overloaded 'size(std::vector&)' is ambiguous 1273 | int s = size(pinfo.trollwpn); | ~~~~^~~~~~~~~~~~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp: In function 'void createTargetLines()': ../hydra/ui.cpp:1404:22: error: call of overloaded 'size(std::vector&)' is ambiguous 1404 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp: In function 'hydra* enemyInSight()': ../hydra/ui.cpp:1421:22: error: call of overloaded 'size(std::vector&)' is ambiguous 1421 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp: In function 'void mainloop()': ../hydra/ui.cpp:1717:26: error: call of overloaded 'size(std::vector >&)' is ambiguous 1717 | int xpos = size(msgs) + i - 24; | ~~~~^~~~~~ In file included from ../hydra/hydra.cpp:25: ../hydra/utils.cpp:72:23: note: candidate: 'int size(const T&) [with T = std::vector >]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector >; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ In file included from ../hydra/hydra.cpp:1113: ../hydra/ui.cpp:1789:30: error: call of overloaded 'size(std::vector&)' is ambiguous 1789 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ ../hydra/hydra.cpp: In function 'void initGame()': ../hydra/hydra.cpp:1220:26: error: call of overloaded 'size(std::vector&)' is ambiguous 1220 | for(int i=0; i]' 72 | template int size(const T& u) { return u.size(); } | ^~~~ In file included from /usr/include/c++/11/string:54, from ../hydra/utils.cpp:12, from ../hydra/hydra.cpp:25: /usr/include/c++/11/bits/range_access.h:245:5: note: candidate: 'constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::vector; decltype (__cont.size()) = long unsigned int]' 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ make: *** [Makefile:32: hydra.o] Error 1 make: Leaving directory '/home/iurt/rpmbuild/BUILD/noteye-8.3/src' make: *** Waiting for unfinished jobs.... make: Entering directory '/home/iurt/rpmbuild/BUILD/noteye-8.3/src' g++ -fpic -I/usr/include/lua-5.1 libnoteye.cpp -c -o libnoteye.o -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DHYDRA -DLINUX -DOPENGL -O9 make: Leaving directory '/home/iurt/rpmbuild/BUILD/noteye-8.3/src' error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.uuAO8O (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.uuAO8O (%build) I: [iurt_root_command] ERROR: chroot