Closed jpaechnatz closed 3 years ago
what are the errors?
@ultranix ?
I don't see any conflicts related to ObjectGuid implementation.
Tried compiling again for better error report, thats in what I can capture from my console....:
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ostream:170:7: note: candidate function operator<<(unsigned long n) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ostream:174:7: note: candidate function operator<<(bool __n) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ostream:178:7: note: candidate function operator<<(short n); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ostream:181:7: note: candidate function operator<<(unsigned short n) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ostream:189:7: note: candidate function operator<<(int __n); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ostream:192:7: note: candidate function operator<<(unsigned int n) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ostream:201:7: note: candidate function operator<<(long long n) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ostream:205:7: note: candidate function operator<<(unsigned long long __n) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ostream:220:7: note: candidate function operator<<(double f) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ostream:224:7: note: candidate function operator<<(float __f) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ostream:232:7: note: candidate function operator<<(long double f) ^ 1 error generated. make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/build.make:8378: src/server/scripts/CMakeFiles/scripts.dir////modules/mod-npc-talent-template/src/TemplateNPC.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:1206: src/server/scripts/CMakeFiles/scripts.dir/all] Error 2 make: *** [Makefile:149: all] Error 2
locally I got this
fatal error: use of overloaded operator '<<' is ambiguous (with operand types 'std::basic_ostream<char>' and 'const ObjectGuid')
Causes an compiler error since last major changes in AC.