We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make -j8 Generating FHS icons [ 1%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptdictionary.cpp.o [ 1%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptany.cpp.o [ 1%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptbuilder.cpp.o [ 1%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptarray.cpp.o [ 1%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_atomic.cpp.o [ 2%] Generating pak000-Nonfree.pak, font-unifont.pak BASEURL ************ https://github.com/yvt/openspades-paks/releases/download/r33/OpenSpadesDevPackage-r33.zip --2024-04-29 20:36:27-- https://github.com/yvt/openspades-paks/releases/download/r33/OpenSpadesDevPackage-r33.zip [ 3%] Building paks Распознаётся github.com (github.com)… ~/builds/openspades/Resources ~/builds/openspades/build/Resources 140.82.121.4 Подключение к github.com (github.com)|140.82.121.4|:443... соединение установлено. In file included from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.h:6, from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:1: /home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp: In function ‘void RegisterScriptAny_Native(asIScriptEngine*)’: /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘int (CScriptAny::)() const’ to ‘void (CScriptAny::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:153:81: note: in expansion of macro ‘asMETHOD’ 153 | r = engine->RegisterObjectBehaviour("any", asBEHAVE_ADDREF, "void f()", asMETHOD(CScriptAny,AddRef), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘int (CScriptAny::)() const’ to ‘void (CScriptAny::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:154:82: note: in expansion of macro ‘asMETHOD’ 154 | r = engine->RegisterObjectBehaviour("any", asBEHAVE_RELEASE, "void f()", asMETHOD(CScriptAny,Release), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘int (CScriptAny::)()’ to ‘void (CScriptAny::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:164:85: note: in expansion of macro ‘asMETHOD’ 164 | r = engine->RegisterObjectBehaviour("any", asBEHAVE_GETREFCOUNT, "int f()", asMETHOD(CScriptAny,GetRefCount), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptAny::)()’ to ‘void (CScriptAny::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:166:84: note: in expansion of macro ‘asMETHOD’ 166 | r = engine->RegisterObjectBehaviour("any", asBEHAVE_GETGCFLAG, "bool f()", asMETHOD(CScriptAny,GetFlag), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptAny::)(asIScriptEngine)’ to ‘void (CScriptAny::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:167:89: note: in expansion of macro ‘asMETHOD’ 167 | r = engine->RegisterObjectBehaviour("any", asBEHAVE_ENUMREFS, "void f(int&in)", asMETHOD(CScriptAny,EnumReferences), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptAny::)(asIScriptEngine*)’ to ‘void (CScriptAny::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:168:92: note: in expansion of macro ‘asMETHOD’ 168 | r = engine->RegisterObjectBehaviour("any", asBEHAVE_RELEASEREFS, "void f(int&in)", asMETHOD(CScriptAny,ReleaseAllHandles), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ HTTP-запрос отправлен. Ожидание ответа… [ 3%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_builder.cpp.o In file included from /home/artem/builds/openspades/Sources/AngelScript/source/as_config.h:1257, from /home/artem/builds/openspades/Sources/AngelScript/source/as_builder.cpp:39: /home/artem/builds/openspades/Sources/AngelScript/source/as_builder.cpp: In member function ‘void asCBuilder::EvaluateTemplateInstances(asUINT, bool)’: /home/artem/builds/openspades/Sources/AngelScript/source/../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (asCOutputBuffer::)(asSMessageInfo*)’ to ‘void (asCOutputBuffer::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/source/as_builder.cpp:239:44: note: in expansion of macro ‘asMETHOD’ 239 | engine->SetMessageCallback(asMETHOD(asCOutputBuffer, Callback), &outBuffer, asCALL_THISCALL); | ^~~~~~~~ Done generating FHS icons /home/artem/builds/openspades/Sources/AngelScript/source/as_builder.cpp: In member function ‘void asCBuilder::CompileGlobalVariables()’: /home/artem/builds/openspades/Sources/AngelScript/source/../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (asCOutputBuffer::)(asSMessageInfo*)’ to ‘void (asCOutputBuffer::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/source/as_builder.cpp:2094:36: note: in expansion of macro ‘asMETHOD’ 2094 | engine->SetMessageCallback(asMETHOD(asCOutputBuffer, Callback), &outBuffer, asCALL_THISCALL); | ^~~~~~~~ [ 3%] Built target OpenSpades_Unix In file included from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.h:6, from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:8: /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp: In function ‘void RegisterScriptArray_Native(asIScriptEngine)’: /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptArray& (CScriptArray::)(const CScriptArray&)’ to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:291:95: note: in expansion of macro ‘asMETHOD’ 291 | r = engine->RegisterObjectMethod("array", "array &opAssign(const array&in)", asMETHOD(CScriptArray, operator=), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptArray::)(void)’ to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:296:91: note: in expansion of macro ‘asMETHOD’ 296 | r = engine->RegisterObjectMethod("array", "void insertLast(const T&in value)", asMETHOD(CScriptArray, InsertLast), asCALL_THISCALL); assert(r >= 0); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptArray::)(asUINT)’ {aka ‘void (CScriptArray::)(unsigned int)’} to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:297:83: note: in expansion of macro ‘asMETHOD’ 297 | r = engine->RegisterObjectMethod("array", "void removeAt(uint index)", asMETHOD(CScriptArray, RemoveAt), asCALL_THISCALL); assert(r >= 0); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptArray::)(asUINT, asUINT)’ {aka ‘void (CScriptArray::)(unsigned int, unsigned int)’} to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:299:98: note: in expansion of macro ‘asMETHOD’ 299 | r = engine->RegisterObjectMethod("array", "void removeRange(uint start, uint count)", asMETHOD(CScriptArray, RemoveRange), asCALL_THISCALL); assert(r >= 0); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘asUINT (CScriptArray::)() const’ {aka ‘unsigned int (CScriptArray::)() const’} to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:301:77: note: in expansion of macro ‘asMETHOD’ 301 | r = engine->RegisterObjectMethod("array", "uint length() const", asMETHOD(CScriptArray, GetSize), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptArray::)(asUINT)’ {aka ‘void (CScriptArray::)(unsigned int)’} to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:302:83: note: in expansion of macro ‘asMETHOD’ 302 | r = engine->RegisterObjectMethod("array", "void reserve(uint length)", asMETHOD(CScriptArray, Reserve), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptArray::)(const CScriptArray&) const’ to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:315:96: note: in expansion of macro ‘asMETHOD’ 315 | r = engine->RegisterObjectMethod("array", "bool opEquals(const array&in) const", asMETHOD(CScriptArray, operator==), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptArray::)() const’ to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:316:78: note: in expansion of macro ‘asMETHOD’ 316 | r = engine->RegisterObjectMethod("array", "bool isEmpty() const", asMETHOD(CScriptArray, IsEmpty), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘asUINT (CScriptArray::)() const’ {aka ‘unsigned int (CScriptArray::)() const’} to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:319:81: note: in expansion of macro ‘asMETHOD’ 319 | r = engine->RegisterObjectMethod("array", "uint get_length() const", asMETHOD(CScriptArray, GetSize), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘int (CScriptArray::)()’ to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:323:90: note: in expansion of macro ‘asMETHOD’ 323 | r = engine->RegisterObjectBehaviour("array", asBEHAVE_GETREFCOUNT, "int f()", asMETHOD(CScriptArray, GetRefCount), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptArray::)()’ to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:325:89: note: in expansion of macro ‘asMETHOD’ 325 | r = engine->RegisterObjectBehaviour("array", asBEHAVE_GETGCFLAG, "bool f()", asMETHOD(CScriptArray, GetFlag), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptArray::)(asIScriptEngine)’ to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:326:94: note: in expansion of macro ‘asMETHOD’ 326 | r = engine->RegisterObjectBehaviour("array", asBEHAVE_ENUMREFS, "void f(int&in)", asMETHOD(CScriptArray, EnumReferences), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptArray::)(asIScriptEngine*)’ to ‘void (CScriptArray::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:327:97: note: in expansion of macro ‘asMETHOD’ 327 | r = engine->RegisterObjectBehaviour("array", asBEHAVE_RELEASEREFS, "void f(int&in)", asMETHOD(CScriptArray, ReleaseAllHandles), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ 302 Found Адрес: https://objects.githubusercontent.com/github-production-release-asset-2e65be/75995187/fdecc246-d3c3-11e6-965c-3ce008f018a0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240429%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240429T173627Z&X-Amz-Expires=300&X-Amz-Signature=3f85121be1b071aaa3d4c69aa62a0ec58ffbbf81c46ebf88f18477f8baa7b1d4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=75995187&response-content-disposition=attachment%3B%20filename%3DOpenSpadesDevPackage-r33.zip&response-content-type=application%2Foctet-stream [переход] --2024-04-29 20:36:27-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/75995187/fdecc246-d3c3-11e6-965c-3ce008f018a0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240429%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240429T173627Z&X-Amz-Expires=300&X-Amz-Signature=3f85121be1b071aaa3d4c69aa62a0ec58ffbbf81c46ebf88f18477f8baa7b1d4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=75995187&response-content-disposition=attachment%3B%20filename%3DOpenSpadesDevPackage-r33.zip&response-content-type=application%2Foctet-stream Распознаётся objects.githubusercontent.com (objects.githubusercontent.com)… 185.199.109.133, 185.199.108.133, 185.199.110.133, ... Подключение к objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... соединение установлено. [ 4%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scripthelper.cpp.o [ 4%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scripthandle.cpp.o In file included from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.h:10, from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:3: /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp: In function ‘void RegisterScriptDictionary_Native(asIScriptEngine)’: /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptDictionary::)(const dictKey_t&) const’ {aka ‘bool (CScriptDictionary::)(const std::cxx11::basic_string&) const’} to ‘void (CScriptDictionary::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1041:95: note: in expansion of macro ‘asMETHOD’ 1041 | r = engine->RegisterObjectMethod("dictionary", "bool exists(const string &in) const", asMETHOD(CScriptDictionary,Exists), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptDictionary::)() const’ to ‘void (CScriptDictionary::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1042:80: note: in expansion of macro ‘asMETHOD’ 1042 | r = engine->RegisterObjectMethod("dictionary", "bool isEmpty() const", asMETHOD(CScriptDictionary, IsEmpty), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘asUINT (CScriptDictionary::)() const’ {aka ‘unsigned int (CScriptDictionary::)() const’} to ‘void (CScriptDictionary::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1043:80: note: in expansion of macro ‘asMETHOD’ 1043 | r = engine->RegisterObjectMethod("dictionary", "uint getSize() const", asMETHOD(CScriptDictionary, GetSize), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptDictionary::)(const dictKey_t&)’ {aka ‘bool (CScriptDictionary::)(const std::cxx11::basic_string&)’} to ‘void (CScriptDictionary::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1044:89: note: in expansion of macro ‘asMETHOD’ 1044 | r = engine->RegisterObjectMethod("dictionary", "bool delete(const string &in)", asMETHOD(CScriptDictionary,Delete), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptArray (CScriptDictionary::)() const’ to ‘void (CScriptDictionary::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1047:90: note: in expansion of macro ‘asMETHOD’ 1047 | r = engine->RegisterObjectMethod("dictionary", "array @getkeys() const", asMETHOD(CScriptDictionary,GetKeys), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘int (CScriptDictionary::)()’ to ‘void (CScriptDictionary::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1053:92: note: in expansion of macro ‘asMETHOD’ 1053 | r = engine->RegisterObjectBehaviour("dictionary", asBEHAVE_GETREFCOUNT, "int f()", asMETHOD(CScriptDictionary,GetRefCount), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptDictionary::)()’ to ‘void (CScriptDictionary::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1055:91: note: in expansion of macro ‘asMETHOD’ 1055 | r = engine->RegisterObjectBehaviour("dictionary", asBEHAVE_GETGCFLAG, "bool f()", asMETHOD(CScriptDictionary,GetGCFlag), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptDictionary::)(asIScriptEngine)’ to ‘void (CScriptDictionary::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1056:96: note: in expansion of macro ‘asMETHOD’ 1056 | r = engine->RegisterObjectBehaviour("dictionary", asBEHAVE_ENUMREFS, "void f(int&in)", asMETHOD(CScriptDictionary,EnumReferences), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptDictionary::)(asIScriptEngine*)’ to ‘void (CScriptDictionary::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1057:99: note: in expansion of macro ‘asMETHOD’ 1057 | r = engine->RegisterObjectBehaviour("dictionary", asBEHAVE_RELEASEREFS, "void f(int&in)", asMETHOD(CScriptDictionary,ReleaseAllReferences), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ HTTP-запрос отправлен. Ожидание ответа… ~/builds/openspades/build/Resources [ 4%] Copying PackageInfo.json In file included from /home/artem/builds/openspades/Sources/AngelScript/addons/scripthandle.h:6, from /home/artem/builds/openspades/Sources/AngelScript/addons/scripthandle.cpp:1: /home/artem/builds/openspades/Sources/AngelScript/addons/scripthandle.cpp: In function ‘void RegisterScriptHandle_Native(asIScriptEngine)’: /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptHandle& (CScriptHandle::)(const CScriptHandle&)’ to ‘void (CScriptHandle::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scripthandle.cpp:231:85: note: in expansion of macro ‘asMETHOD’ 231 | r = engine->RegisterObjectMethod("ref", "ref &opHndlAssign(const ref &in)", asMETHOD(CScriptHandle, operator=), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptHandle& (CScriptHandle::)(void, int)’ to ‘void (CScriptHandle::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::*)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scripthandle.cpp:232:82: note: in expansion of macro ‘asMETHOD’ 232 | r = engine->RegisterObjectMethod("ref", "ref &opHndlAssign(const ?&in)", asMETHOD(CScriptHandle, Assign), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ [ 4%] Building assets [ 5%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_bytecode.cpp.o [ 5%] Built target OpenSpades_Resources [ 5%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptmath.cpp.o [ 5%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_callfunc.cpp.o [ 6%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptmathcomplex.cpp.o /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc.cpp: In function ‘int DetectCallingConvention(bool, const asSFuncPtr&, int, void*, asSSystemFunctionInterface*)’: /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc.cpp:58:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct asSSystemFunctionInterface’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 58 | memset(internal, 0, sizeof(asSSystemFunctionInterface)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc.cpp:41: /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc.h:98:8: note: ‘struct asSSystemFunctionInterface’ declared here 98 | struct asSSystemFunctionInterface | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 200 OK Длина: 4036321 (3,8M) [application/octet-stream] Сохранение в: ‘OpenSpadesDevPackage-r33.zip’
OpenSpade 0%[ ] 0 --.-KB/s [ 6%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir/__/__/addons/scriptstdstring.cpp.o
[ 6%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_callfunc_x86.cpp.o In file included from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.h:6, from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp:5: /home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp: In function ‘void RegisterScriptMathComplex_Native(asIScriptEngine*)’: /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘float (Complex::)() const’ to ‘void (Complex::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp:199:74: note: in expansion of macro ‘asMETHOD’ 199 | r = engine->RegisterObjectMethod("complex", "float abs() const", asMETHOD(Complex,length), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘Complex (Complex::)() const’ to ‘void (Complex::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp:202:79: note: in expansion of macro ‘asMETHOD’ 202 | r = engine->RegisterObjectMethod("complex", "complex get_ri() const", asMETHOD(Complex, get_ri), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘Complex (Complex::)() const’ to ‘void (Complex::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp:203:79: note: in expansion of macro ‘asMETHOD’ 203 | r = engine->RegisterObjectMethod("complex", "complex get_ir() const", asMETHOD(Complex, get_ir), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (Complex::)(const Complex&)’ to ‘void (Complex::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp:204:87: note: in expansion of macro ‘asMETHOD’ 204 | r = engine->RegisterObjectMethod("complex", "void set_ri(const complex &in)", asMETHOD(Complex, set_ri), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (Complex::)(const Complex&)’ to ‘void (Complex::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp:205:87: note: in expansion of macro ‘asMETHOD’ 205 | r = engine->RegisterObjectMethod("complex", "void set_ir(const complex &in)", asMETHOD(Complex, set_ir), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ [ 7%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_callfunc_x64_gcc.cpp.o OpenSpades 9%[> ] 356,53K 1,66MB/s [ 7%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptstdstring_utils.cpp.o [ 7%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_callfunc_x64_msvc.cpp.o [ 7%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_compiler.cpp.o /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp: In function ‘asQWORD CallSystemFunctionNative(asCContext*, asCScriptFunction*, void*, asDWORD*, void*, asQWORD&, void*)’: /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:228:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 228 | param_post = 2; | ~~~~~~~~~~~^~~ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:230:17: note: here 230 | case ICC_THISCALL: | ^~~~ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:244:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 244 | param_post = 2; | ~~~~~~~~~~~^~~ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:246:17: note: here 246 | case ICC_THISCALL_RETURNINMEM: | ^~~~ [ 8%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_configgroup.cpp.o /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp: In function ‘asQWORD X64_CallFunction(const asQWORD*, int, funcptr_t, asQWORD&, bool)’: /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%rcx’ in ‘asm’ 74 | asm volatile ( | ^~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%rdx’ in ‘asm’ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%rax’ in ‘asm’ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%rsi’ in ‘asm’ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%rdi’ in ‘asm’ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm7’ in ‘asm’ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm6’ in ‘asm’ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm5’ in ‘asm’ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm4’ in ‘asm’ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm3’ in ‘asm’ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm2’ in ‘asm’ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm1’ in ‘asm’ /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm0’ in ‘asm’ make[2]: *** [Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/build.make:146: Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_callfunc_x64_gcc.cpp.o] Ошибка 1 make[2]: *** Ожидание завершения заданий… [ 9%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/weakref.cpp.o OpenSpadesD 38%[======> ] 1,49M 3,62MB/s /home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp: In function ‘int StringFindFirst(const string&, asUINT, const string&)’: /home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp:355:50: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits] 355 | return (int)str.find(sub, (size_t)(start < 0 ? string::npos : start)); | ~~~~~~^~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp: In function ‘int StringFindFirstOf(const string&, asUINT, const string&)’: /home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp:367:59: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits] 367 | return (int)str.find_first_of(sub, (size_t)(start < 0 ? string::npos : start)); | ~~~~~~^~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp: In function ‘int StringFindLastOf(const string&, asUINT, const string&)’: /home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp:379:58: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits] 379 | return (int)str.find_last_of(sub, (size_t)(start < 0 ? string::npos : start)); | ~~~~~~^~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp: In function ‘int StringFindFirstNotOf(const string&, asUINT, const string&)’: /home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp:390:63: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits] 390 | return (int)str.find_first_not_of(sub, (size_t)(start < 0 ? string::npos : start)); | ~~~~~~^~~ /home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp: In function ‘int StringFindLastNotOf(const string&, asUINT, const string&)’: /home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp:401:58: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits] 401 | return (int)str.find_last_of(sub, (size_t)(start < 0 ? string::npos : start)); | ~~~~~~^~~ In file included from /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.h:8, from /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:4: /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp: In function ‘void RegisterScriptWeakRef_Native(asIScriptEngine*)’: /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void* (CScriptWeakRef::)() const’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:220:75: note: in expansion of macro ‘asMETHOD’ 220 | r = engine->RegisterObjectMethod("weakref", "T@ opImplCast()", asMETHOD(CScriptWeakRef, Get), asCALL_THISCALL); assert(r >= 0); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptWeakRef& (CScriptWeakRef::)(const CScriptWeakRef&)’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:222:106: note: in expansion of macro ‘asMETHOD’ 222 | r = engine->RegisterObjectMethod("weakref", "weakref &opHndlAssign(const weakref &in)", asMETHOD(CScriptWeakRef, operator=), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptWeakRef& (CScriptWeakRef::)(void)’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:224:88: note: in expansion of macro ‘asMETHOD’ 224 | r = engine->RegisterObjectMethod("weakref", "weakref &opHndlAssign(T@)", asMETHOD(CScriptWeakRef, Set), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptWeakRef::)(void*) const’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:225:89: note: in expansion of macro ‘asMETHOD’ 225 | r = engine->RegisterObjectMethod("weakref", "bool opEquals(const T@) const", asMETHOD(CScriptWeakRef, Equals), asCALL_THISCALL); assert(r >= 0); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptWeakRef::)() const’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:235:93: note: in expansion of macro ‘asMETHOD’ 235 | r = engine->RegisterObjectMethod("const_weakref", "const T@ opImplCast() const", asMETHOD(CScriptWeakRef, Get), asCALL_THISCALL); assert(r >= 0); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptWeakRef& (CScriptWeakRef::)(const CScriptWeakRef&)’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:237:124: note: in expansion of macro ‘asMETHOD’ 237 | r = engine->RegisterObjectMethod("const_weakref", "const_weakref &opHndlAssign(const const_weakref &in)", asMETHOD(CScriptWeakRef, operator=), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptWeakRef& (CScriptWeakRef::)(void)’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:239:106: note: in expansion of macro ‘asMETHOD’ 239 | r = engine->RegisterObjectMethod("const_weakref", "const_weakref &opHndlAssign(const T@)", asMETHOD(CScriptWeakRef, Set), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptWeakRef::)(void*) const’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:240:95: note: in expansion of macro ‘asMETHOD’ 240 | r = engine->RegisterObjectMethod("const_weakref", "bool opEquals(const T@) const", asMETHOD(CScriptWeakRef, Equals), asCALL_THISCALL); assert(r >= 0); | ^~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptWeakRef& (CScriptWeakRef::)(const CScriptWeakRef&)’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type] 492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m)) | ^~~~~~~~~~~~~~~~~~~~~~ /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:243:118: note: in expansion of macro ‘asMETHOD’ 243 | r = engine->RegisterObjectMethod("const_weakref", "const_weakref &opHndlAssign(const weakref &in)", asMETHOD(CScriptWeakRef, operator=), asCALL_THISCALL); assert( r >= 0 ); | ^~~~~~~~ OpenSpadesDe 68%[============> ] 2,62M 4,27MB/s /home/artem/builds/openspades/Sources/AngelScript/source/as_compiler.cpp: In member function ‘void asCCompiler::ImplicitConversionConstant(asCExprContext, const asCDataType&, asCScriptNode*, EImplicitConv)’: /home/artem/builds/openspades/Sources/AngelScript/source/as_compiler.cpp:7397:117: warning: comparison is always false due to limited range of data type [-Wtype-limits] 7397 | (from->type.dataType.GetSizeInMemoryBytes() == 1 && char(from->type.GetConstantB()) < 0)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ OpenSpadesDevPackag 100%[===================>] 3,85M 5,48MB/s за 0,7s
2024-04-29 20:36:28 (5,48 MB/s) - ‘OpenSpadesDevPackage-r33.zip’ сохранён [4036321/4036321]
Archive: OpenSpadesDevPackage-r33.zip inflating: ./Nonfree/LICENSE.md inflating: ./Nonfree/pak000-Nonfree.pak inflating: ./OfficialMods/LICENSE inflating: ./OfficialMods/font-unifont.pak [ 9%] Downloading non-GPL assets [ 9%] Built target OpenSpades_Resources_DevPaks [ 9%] Linking CXX static library ../../../../lib/libAngelscript_addons.a [ 9%] Built target Angelscript_addons make[1]: *** [CMakeFiles/Makefile2:260: Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/all] Ошибка 2 make: *** [Makefile:156: all] Ошибка 2
The text was updated successfully, but these errors were encountered:
weird it s compiling amd64 angelscript codepath rather than arm here..
Sorry, something went wrong.
Same issue here when trying to package with Nix.
Successfully merging a pull request may close this issue.
make -j8
Generating FHS icons
[ 1%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptdictionary.cpp.o
[ 1%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptany.cpp.o
[ 1%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptbuilder.cpp.o
[ 1%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptarray.cpp.o
[ 1%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_atomic.cpp.o
[ 2%] Generating pak000-Nonfree.pak, font-unifont.pak
BASEURL ************ https://github.com/yvt/openspades-paks/releases/download/r33/OpenSpadesDevPackage-r33.zip
--2024-04-29 20:36:27-- https://github.com/yvt/openspades-paks/releases/download/r33/OpenSpadesDevPackage-r33.zip
[ 3%] Building paks
Распознаётся github.com (github.com)… ~/builds/openspades/Resources ~/builds/openspades/build/Resources
140.82.121.4
Подключение к github.com (github.com)|140.82.121.4|:443... соединение установлено.
In file included from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.h:6,
from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:1:
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp: In function ‘void RegisterScriptAny_Native(asIScriptEngine*)’:
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘int (CScriptAny::)() const’ to ‘void (CScriptAny::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:153:81: note: in expansion of macro ‘asMETHOD’
153 | r = engine->RegisterObjectBehaviour("any", asBEHAVE_ADDREF, "void f()", asMETHOD(CScriptAny,AddRef), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘int (CScriptAny::)() const’ to ‘void (CScriptAny::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:154:82: note: in expansion of macro ‘asMETHOD’
154 | r = engine->RegisterObjectBehaviour("any", asBEHAVE_RELEASE, "void f()", asMETHOD(CScriptAny,Release), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘int (CScriptAny::)()’ to ‘void (CScriptAny::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:164:85: note: in expansion of macro ‘asMETHOD’
164 | r = engine->RegisterObjectBehaviour("any", asBEHAVE_GETREFCOUNT, "int f()", asMETHOD(CScriptAny,GetRefCount), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptAny::)()’ to ‘void (CScriptAny::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:166:84: note: in expansion of macro ‘asMETHOD’
166 | r = engine->RegisterObjectBehaviour("any", asBEHAVE_GETGCFLAG, "bool f()", asMETHOD(CScriptAny,GetFlag), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptAny::)(asIScriptEngine)’ to ‘void (CScriptAny::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:167:89: note: in expansion of macro ‘asMETHOD’
167 | r = engine->RegisterObjectBehaviour("any", asBEHAVE_ENUMREFS, "void f(int&in)", asMETHOD(CScriptAny,EnumReferences), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptAny::)(asIScriptEngine*)’ to ‘void (CScriptAny::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptany.cpp:168:92: note: in expansion of macro ‘asMETHOD’
168 | r = engine->RegisterObjectBehaviour("any", asBEHAVE_RELEASEREFS, "void f(int&in)", asMETHOD(CScriptAny,ReleaseAllHandles), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
HTTP-запрос отправлен. Ожидание ответа… [ 3%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_builder.cpp.o
In file included from /home/artem/builds/openspades/Sources/AngelScript/source/as_config.h:1257,
from /home/artem/builds/openspades/Sources/AngelScript/source/as_builder.cpp:39:
/home/artem/builds/openspades/Sources/AngelScript/source/as_builder.cpp: In member function ‘void asCBuilder::EvaluateTemplateInstances(asUINT, bool)’:
/home/artem/builds/openspades/Sources/AngelScript/source/../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (asCOutputBuffer::)(asSMessageInfo*)’ to ‘void (asCOutputBuffer::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/source/as_builder.cpp:239:44: note: in expansion of macro ‘asMETHOD’
239 | engine->SetMessageCallback(asMETHOD(asCOutputBuffer, Callback), &outBuffer, asCALL_THISCALL);
| ^~~~~~~~
Done generating FHS icons
/home/artem/builds/openspades/Sources/AngelScript/source/as_builder.cpp: In member function ‘void asCBuilder::CompileGlobalVariables()’:
/home/artem/builds/openspades/Sources/AngelScript/source/../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (asCOutputBuffer::)(asSMessageInfo*)’ to ‘void (asCOutputBuffer::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/source/as_builder.cpp:2094:36: note: in expansion of macro ‘asMETHOD’
2094 | engine->SetMessageCallback(asMETHOD(asCOutputBuffer, Callback), &outBuffer, asCALL_THISCALL);
| ^~~~~~~~
[ 3%] Built target OpenSpades_Unix
In file included from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.h:6,
from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:8:
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp: In function ‘void RegisterScriptArray_Native(asIScriptEngine)’:
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptArray& (CScriptArray::)(const CScriptArray&)’ to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:291:95: note: in expansion of macro ‘asMETHOD’
291 | r = engine->RegisterObjectMethod("array", "array &opAssign(const array&in)", asMETHOD(CScriptArray, operator=), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptArray::)(void)’ to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:296:91: note: in expansion of macro ‘asMETHOD’
296 | r = engine->RegisterObjectMethod("array", "void insertLast(const T&in value)", asMETHOD(CScriptArray, InsertLast), asCALL_THISCALL); assert(r >= 0);
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptArray::)(asUINT)’ {aka ‘void (CScriptArray::)(unsigned int)’} to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:297:83: note: in expansion of macro ‘asMETHOD’
297 | r = engine->RegisterObjectMethod("array", "void removeAt(uint index)", asMETHOD(CScriptArray, RemoveAt), asCALL_THISCALL); assert(r >= 0);
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptArray::)(asUINT, asUINT)’ {aka ‘void (CScriptArray::)(unsigned int, unsigned int)’} to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:299:98: note: in expansion of macro ‘asMETHOD’
299 | r = engine->RegisterObjectMethod("array", "void removeRange(uint start, uint count)", asMETHOD(CScriptArray, RemoveRange), asCALL_THISCALL); assert(r >= 0);
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘asUINT (CScriptArray::)() const’ {aka ‘unsigned int (CScriptArray::)() const’} to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:301:77: note: in expansion of macro ‘asMETHOD’
301 | r = engine->RegisterObjectMethod("array", "uint length() const", asMETHOD(CScriptArray, GetSize), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptArray::)(asUINT)’ {aka ‘void (CScriptArray::)(unsigned int)’} to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:302:83: note: in expansion of macro ‘asMETHOD’
302 | r = engine->RegisterObjectMethod("array", "void reserve(uint length)", asMETHOD(CScriptArray, Reserve), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptArray::)(const CScriptArray&) const’ to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:315:96: note: in expansion of macro ‘asMETHOD’
315 | r = engine->RegisterObjectMethod("array", "bool opEquals(const array&in) const", asMETHOD(CScriptArray, operator==), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptArray::)() const’ to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:316:78: note: in expansion of macro ‘asMETHOD’
316 | r = engine->RegisterObjectMethod("array", "bool isEmpty() const", asMETHOD(CScriptArray, IsEmpty), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘asUINT (CScriptArray::)() const’ {aka ‘unsigned int (CScriptArray::)() const’} to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:319:81: note: in expansion of macro ‘asMETHOD’
319 | r = engine->RegisterObjectMethod("array", "uint get_length() const", asMETHOD(CScriptArray, GetSize), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘int (CScriptArray::)()’ to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:323:90: note: in expansion of macro ‘asMETHOD’
323 | r = engine->RegisterObjectBehaviour("array", asBEHAVE_GETREFCOUNT, "int f()", asMETHOD(CScriptArray, GetRefCount), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptArray::)()’ to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:325:89: note: in expansion of macro ‘asMETHOD’
325 | r = engine->RegisterObjectBehaviour("array", asBEHAVE_GETGCFLAG, "bool f()", asMETHOD(CScriptArray, GetFlag), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptArray::)(asIScriptEngine)’ to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:326:94: note: in expansion of macro ‘asMETHOD’
326 | r = engine->RegisterObjectBehaviour("array", asBEHAVE_ENUMREFS, "void f(int&in)", asMETHOD(CScriptArray, EnumReferences), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptArray::)(asIScriptEngine*)’ to ‘void (CScriptArray::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptarray.cpp:327:97: note: in expansion of macro ‘asMETHOD’
327 | r = engine->RegisterObjectBehaviour("array", asBEHAVE_RELEASEREFS, "void f(int&in)", asMETHOD(CScriptArray, ReleaseAllHandles), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
302 Found
Адрес: https://objects.githubusercontent.com/github-production-release-asset-2e65be/75995187/fdecc246-d3c3-11e6-965c-3ce008f018a0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240429%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240429T173627Z&X-Amz-Expires=300&X-Amz-Signature=3f85121be1b071aaa3d4c69aa62a0ec58ffbbf81c46ebf88f18477f8baa7b1d4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=75995187&response-content-disposition=attachment%3B%20filename%3DOpenSpadesDevPackage-r33.zip&response-content-type=application%2Foctet-stream [переход]
--2024-04-29 20:36:27-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/75995187/fdecc246-d3c3-11e6-965c-3ce008f018a0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240429%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240429T173627Z&X-Amz-Expires=300&X-Amz-Signature=3f85121be1b071aaa3d4c69aa62a0ec58ffbbf81c46ebf88f18477f8baa7b1d4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=75995187&response-content-disposition=attachment%3B%20filename%3DOpenSpadesDevPackage-r33.zip&response-content-type=application%2Foctet-stream
Распознаётся objects.githubusercontent.com (objects.githubusercontent.com)… 185.199.109.133, 185.199.108.133, 185.199.110.133, ...
Подключение к objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... соединение установлено.
[ 4%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scripthelper.cpp.o
[ 4%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scripthandle.cpp.o
In file included from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.h:10,
from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:3:
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp: In function ‘void RegisterScriptDictionary_Native(asIScriptEngine)’:
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptDictionary::)(const dictKey_t&) const’ {aka ‘bool (CScriptDictionary::)(const std::cxx11::basic_string&) const’} to ‘void (CScriptDictionary::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1041:95: note: in expansion of macro ‘asMETHOD’
1041 | r = engine->RegisterObjectMethod("dictionary", "bool exists(const string &in) const", asMETHOD(CScriptDictionary,Exists), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptDictionary::)() const’ to ‘void (CScriptDictionary::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1042:80: note: in expansion of macro ‘asMETHOD’
1042 | r = engine->RegisterObjectMethod("dictionary", "bool isEmpty() const", asMETHOD(CScriptDictionary, IsEmpty), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘asUINT (CScriptDictionary::)() const’ {aka ‘unsigned int (CScriptDictionary::)() const’} to ‘void (CScriptDictionary::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1043:80: note: in expansion of macro ‘asMETHOD’
1043 | r = engine->RegisterObjectMethod("dictionary", "uint getSize() const", asMETHOD(CScriptDictionary, GetSize), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptDictionary::)(const dictKey_t&)’ {aka ‘bool (CScriptDictionary::)(const std::cxx11::basic_string&)’} to ‘void (CScriptDictionary::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1044:89: note: in expansion of macro ‘asMETHOD’
1044 | r = engine->RegisterObjectMethod("dictionary", "bool delete(const string &in)", asMETHOD(CScriptDictionary,Delete), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptArray (CScriptDictionary::)() const’ to ‘void (CScriptDictionary::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1047:90: note: in expansion of macro ‘asMETHOD’
1047 | r = engine->RegisterObjectMethod("dictionary", "array @getkeys() const", asMETHOD(CScriptDictionary,GetKeys), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘int (CScriptDictionary::)()’ to ‘void (CScriptDictionary::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1053:92: note: in expansion of macro ‘asMETHOD’
1053 | r = engine->RegisterObjectBehaviour("dictionary", asBEHAVE_GETREFCOUNT, "int f()", asMETHOD(CScriptDictionary,GetRefCount), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptDictionary::)()’ to ‘void (CScriptDictionary::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1055:91: note: in expansion of macro ‘asMETHOD’
1055 | r = engine->RegisterObjectBehaviour("dictionary", asBEHAVE_GETGCFLAG, "bool f()", asMETHOD(CScriptDictionary,GetGCFlag), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptDictionary::)(asIScriptEngine)’ to ‘void (CScriptDictionary::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1056:96: note: in expansion of macro ‘asMETHOD’
1056 | r = engine->RegisterObjectBehaviour("dictionary", asBEHAVE_ENUMREFS, "void f(int&in)", asMETHOD(CScriptDictionary,EnumReferences), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptDictionary::)(asIScriptEngine*)’ to ‘void (CScriptDictionary::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptdictionary.cpp:1057:99: note: in expansion of macro ‘asMETHOD’
1057 | r = engine->RegisterObjectBehaviour("dictionary", asBEHAVE_RELEASEREFS, "void f(int&in)", asMETHOD(CScriptDictionary,ReleaseAllReferences), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
HTTP-запрос отправлен. Ожидание ответа… ~/builds/openspades/build/Resources
[ 4%] Copying PackageInfo.json
In file included from /home/artem/builds/openspades/Sources/AngelScript/addons/scripthandle.h:6,
from /home/artem/builds/openspades/Sources/AngelScript/addons/scripthandle.cpp:1:
/home/artem/builds/openspades/Sources/AngelScript/addons/scripthandle.cpp: In function ‘void RegisterScriptHandle_Native(asIScriptEngine)’:
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptHandle& (CScriptHandle::)(const CScriptHandle&)’ to ‘void (CScriptHandle::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scripthandle.cpp:231:85: note: in expansion of macro ‘asMETHOD’
231 | r = engine->RegisterObjectMethod("ref", "ref &opHndlAssign(const ref &in)", asMETHOD(CScriptHandle, operator=), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptHandle& (CScriptHandle::)(void, int)’ to ‘void (CScriptHandle::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::*)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scripthandle.cpp:232:82: note: in expansion of macro ‘asMETHOD’
232 | r = engine->RegisterObjectMethod("ref", "ref &opHndlAssign(const ?&in)", asMETHOD(CScriptHandle, Assign), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
[ 4%] Building assets
[ 5%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_bytecode.cpp.o
[ 5%] Built target OpenSpades_Resources
[ 5%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptmath.cpp.o
[ 5%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_callfunc.cpp.o
[ 6%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptmathcomplex.cpp.o
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc.cpp: In function ‘int DetectCallingConvention(bool, const asSFuncPtr&, int, void*, asSSystemFunctionInterface*)’:
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc.cpp:58:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct asSSystemFunctionInterface’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
58 | memset(internal, 0, sizeof(asSSystemFunctionInterface));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc.cpp:41:
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc.h:98:8: note: ‘struct asSSystemFunctionInterface’ declared here
98 | struct asSSystemFunctionInterface
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
200 OK
Длина: 4036321 (3,8M) [application/octet-stream]
Сохранение в: ‘OpenSpadesDevPackage-r33.zip’
[ 6%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_callfunc_x86.cpp.o
In file included from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.h:6,
from /home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp:5:
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp: In function ‘void RegisterScriptMathComplex_Native(asIScriptEngine*)’:
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘float (Complex::)() const’ to ‘void (Complex::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp:199:74: note: in expansion of macro ‘asMETHOD’
199 | r = engine->RegisterObjectMethod("complex", "float abs() const", asMETHOD(Complex,length), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘Complex (Complex::)() const’ to ‘void (Complex::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp:202:79: note: in expansion of macro ‘asMETHOD’
202 | r = engine->RegisterObjectMethod("complex", "complex get_ri() const", asMETHOD(Complex, get_ri), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘Complex (Complex::)() const’ to ‘void (Complex::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp:203:79: note: in expansion of macro ‘asMETHOD’
203 | r = engine->RegisterObjectMethod("complex", "complex get_ir() const", asMETHOD(Complex, get_ir), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (Complex::)(const Complex&)’ to ‘void (Complex::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp:204:87: note: in expansion of macro ‘asMETHOD’
204 | r = engine->RegisterObjectMethod("complex", "void set_ri(const complex &in)", asMETHOD(Complex, set_ri), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (Complex::)(const Complex&)’ to ‘void (Complex::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptmathcomplex.cpp:205:87: note: in expansion of macro ‘asMETHOD’
205 | r = engine->RegisterObjectMethod("complex", "void set_ir(const complex &in)", asMETHOD(Complex, set_ir), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
[ 7%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_callfunc_x64_gcc.cpp.o
OpenSpades 9%[> ] 356,53K 1,66MB/s [ 7%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/scriptstdstring_utils.cpp.o
[ 7%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_callfunc_x64_msvc.cpp.o
[ 7%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_compiler.cpp.o
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp: In function ‘asQWORD CallSystemFunctionNative(asCContext*, asCScriptFunction*, void*, asDWORD*, void*, asQWORD&, void*)’:
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:228:36: warning: this statement may fall through [-Wimplicit-fallthrough=]
228 | param_post = 2;
| ~~~~~~~~~~~^~~
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:230:17: note: here
230 | case ICC_THISCALL:
| ^~~~
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:244:36: warning: this statement may fall through [-Wimplicit-fallthrough=]
244 | param_post = 2;
| ~~~~~~~~~~~^~~
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:246:17: note: here
246 | case ICC_THISCALL_RETURNINMEM:
| ^~~~
[ 8%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_configgroup.cpp.o
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp: In function ‘asQWORD X64_CallFunction(const asQWORD*, int, funcptr_t, asQWORD&, bool)’:
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%rcx’ in ‘asm’
74 | asm volatile (
| ^~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%rdx’ in ‘asm’
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%rax’ in ‘asm’
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%rsi’ in ‘asm’
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%rdi’ in ‘asm’
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm7’ in ‘asm’
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm6’ in ‘asm’
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm5’ in ‘asm’
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm4’ in ‘asm’
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm3’ in ‘asm’
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm2’ in ‘asm’
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm1’ in ‘asm’
/home/artem/builds/openspades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:74:9: error: unknown register name ‘%xmm0’ in ‘asm’
make[2]: *** [Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/build.make:146: Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir///source/as_callfunc_x64_gcc.cpp.o] Ошибка 1
make[2]: *** Ожидание завершения заданий…
[ 9%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir///addons/weakref.cpp.o
OpenSpadesD 38%[======> ] 1,49M 3,62MB/s /home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp: In function ‘int StringFindFirst(const string&, asUINT, const string&)’:
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp:355:50: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits]
355 | return (int)str.find(sub, (size_t)(start < 0 ? string::npos : start));
| ~~~~~~^~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp: In function ‘int StringFindFirstOf(const string&, asUINT, const string&)’:
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp:367:59: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits]
367 | return (int)str.find_first_of(sub, (size_t)(start < 0 ? string::npos : start));
| ~~~~~~^~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp: In function ‘int StringFindLastOf(const string&, asUINT, const string&)’:
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp:379:58: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits]
379 | return (int)str.find_last_of(sub, (size_t)(start < 0 ? string::npos : start));
| ~~~~~~^~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp: In function ‘int StringFindFirstNotOf(const string&, asUINT, const string&)’:
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp:390:63: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits]
390 | return (int)str.find_first_not_of(sub, (size_t)(start < 0 ? string::npos : start));
| ~~~~~~^~~
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp: In function ‘int StringFindLastNotOf(const string&, asUINT, const string&)’:
/home/artem/builds/openspades/Sources/AngelScript/addons/scriptstdstring.cpp:401:58: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits]
401 | return (int)str.find_last_of(sub, (size_t)(start < 0 ? string::npos : start));
| ~~~~~~^~~
In file included from /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.h:8,
from /home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:4:
/home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp: In function ‘void RegisterScriptWeakRef_Native(asIScriptEngine*)’:
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void* (CScriptWeakRef::)() const’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:220:75: note: in expansion of macro ‘asMETHOD’
220 | r = engine->RegisterObjectMethod("weakref", "T@ opImplCast()", asMETHOD(CScriptWeakRef, Get), asCALL_THISCALL); assert(r >= 0);
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptWeakRef& (CScriptWeakRef::)(const CScriptWeakRef&)’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:222:106: note: in expansion of macro ‘asMETHOD’
222 | r = engine->RegisterObjectMethod("weakref", "weakref &opHndlAssign(const weakref &in)", asMETHOD(CScriptWeakRef, operator=), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptWeakRef& (CScriptWeakRef::)(void)’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:224:88: note: in expansion of macro ‘asMETHOD’
224 | r = engine->RegisterObjectMethod("weakref", "weakref &opHndlAssign(T@)", asMETHOD(CScriptWeakRef, Set), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptWeakRef::)(void*) const’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:225:89: note: in expansion of macro ‘asMETHOD’
225 | r = engine->RegisterObjectMethod("weakref", "bool opEquals(const T@) const", asMETHOD(CScriptWeakRef, Equals), asCALL_THISCALL); assert(r >= 0);
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘void (CScriptWeakRef::)() const’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:235:93: note: in expansion of macro ‘asMETHOD’
235 | r = engine->RegisterObjectMethod("const_weakref", "const T@ opImplCast() const", asMETHOD(CScriptWeakRef, Get), asCALL_THISCALL); assert(r >= 0);
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptWeakRef& (CScriptWeakRef::)(const CScriptWeakRef&)’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:237:124: note: in expansion of macro ‘asMETHOD’
237 | r = engine->RegisterObjectMethod("const_weakref", "const_weakref &opHndlAssign(const const_weakref &in)", asMETHOD(CScriptWeakRef, operator=), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptWeakRef& (CScriptWeakRef::)(void)’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:239:106: note: in expansion of macro ‘asMETHOD’
239 | r = engine->RegisterObjectMethod("const_weakref", "const_weakref &opHndlAssign(const T@)", asMETHOD(CScriptWeakRef, Set), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘bool (CScriptWeakRef::)(void*) const’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:240:95: note: in expansion of macro ‘asMETHOD’
240 | r = engine->RegisterObjectMethod("const_weakref", "bool opEquals(const T@) const", asMETHOD(CScriptWeakRef, Equals), asCALL_THISCALL); assert(r >= 0);
| ^~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from ‘CScriptWeakRef& (CScriptWeakRef::)(const CScriptWeakRef&)’ to ‘void (CScriptWeakRef::)()’ [-Wcast-function-type]
492 | #define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::)())>::Convert((void (c::)())(&c::m))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/artem/builds/openspades/Sources/AngelScript/addons/weakref.cpp:243:118: note: in expansion of macro ‘asMETHOD’
243 | r = engine->RegisterObjectMethod("const_weakref", "const_weakref &opHndlAssign(const weakref &in)", asMETHOD(CScriptWeakRef, operator=), asCALL_THISCALL); assert( r >= 0 );
| ^~~~~~~~
OpenSpadesDe 68%[============> ] 2,62M 4,27MB/s /home/artem/builds/openspades/Sources/AngelScript/source/as_compiler.cpp: In member function ‘void asCCompiler::ImplicitConversionConstant(asCExprContext, const asCDataType&, asCScriptNode*, EImplicitConv)’:
/home/artem/builds/openspades/Sources/AngelScript/source/as_compiler.cpp:7397:117: warning: comparison is always false due to limited range of data type [-Wtype-limits]
7397 | (from->type.dataType.GetSizeInMemoryBytes() == 1 && char(from->type.GetConstantB()) < 0))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
OpenSpadesDevPackag 100%[===================>] 3,85M 5,48MB/s за 0,7s
2024-04-29 20:36:28 (5,48 MB/s) - ‘OpenSpadesDevPackage-r33.zip’ сохранён [4036321/4036321]
Archive: OpenSpadesDevPackage-r33.zip
inflating: ./Nonfree/LICENSE.md
inflating: ./Nonfree/pak000-Nonfree.pak
inflating: ./OfficialMods/LICENSE
inflating: ./OfficialMods/font-unifont.pak
[ 9%] Downloading non-GPL assets
[ 9%] Built target OpenSpades_Resources_DevPaks
[ 9%] Linking CXX static library ../../../../lib/libAngelscript_addons.a
[ 9%] Built target Angelscript_addons
make[1]: *** [CMakeFiles/Makefile2:260: Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/all] Ошибка 2
make: *** [Makefile:156: all] Ошибка 2
The text was updated successfully, but these errors were encountered: