SVN Builds
#17
After changing the makefile to include squirrel_3_0_1_stable/sqplus/, I'm getting these errors:


Code:
/usr/bin/g++ -msse4 -O2 -s source/cPluginManager.cpp -c -I. -Isource -Isquirrel_3_0_1_stable/ -Isquirrel_3_0_1_stable/include -Isource/md5 -IWebServer -Isource/packets -Itolua++-1.0.93/src/lib -Ilua-5.1.4/src -Izlib-1.2.5 -IiniFile -Itolua++-1.0.93/include -Ijsoncpp-src-0.5.0/include -Ijsoncpp-src-0.5.0/src/lib_json -o build/cPluginManager.o
In file included from source/cPluginManager.cpp:16:
squirrel_3_0_1_stable/sqplus/sqplus.h: In function âvoid SqPlus::createTableSetGetHandlers(SquirrelObject&)â:
squirrel_3_0_1_stable/sqplus/sqplus.h:553: error: invalid conversion from âint (*)(SQVM*)â to âSQInteger (*)(SQVM*)â
squirrel_3_0_1_stable/sqplus/sqplus.h:553: error:   initializing argument 2 of âstatic SquirrelObject SquirrelVM::CreateFunction(SquirrelObject&, SQInteger (*)(SQVM*), const SQChar*, const SQChar*)â
squirrel_3_0_1_stable/sqplus/sqplus.h:554: error: invalid conversion from âint (*)(SQVM*)â to âSQInteger (*)(SQVM*)â
squirrel_3_0_1_stable/sqplus/sqplus.h:554: error:   initializing argument 2 of âstatic SquirrelObject SquirrelVM::CreateFunction(SquirrelObject&, SQInteger (*)(SQVM*), const SQChar*, const SQChar*)â
squirrel_3_0_1_stable/sqplus/sqplus.h: In function âvoid SqPlus::createInstanceSetGetHandlers(SquirrelObject&)â:
squirrel_3_0_1_stable/sqplus/sqplus.h:584: error: invalid conversion from âint (*)(SQVM*)â to âSQInteger (*)(SQVM*)â
squirrel_3_0_1_stable/sqplus/sqplus.h:584: error:   initializing argument 2 of âstatic SquirrelObject SquirrelVM::CreateFunction(SquirrelObject&, SQInteger (*)(SQVM*), const SQChar*, const SQChar*)â
squirrel_3_0_1_stable/sqplus/sqplus.h:585: error: invalid conversion from âint (*)(SQVM*)â to âSQInteger (*)(SQVM*)â
squirrel_3_0_1_stable/sqplus/sqplus.h:585: error:   initializing argument 2 of âstatic SquirrelObject SquirrelVM::CreateFunction(SquirrelObject&, SQInteger (*)(SQVM*), const SQChar*, const SQChar*)â
In file included from squirrel_3_0_1_stable/sqplus/sqplus.h:886,
                 from source/cPluginManager.cpp:16:
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h: In function âchar SqPlus::Get(SqPlus::TypeWrapper<char>, SQVM*, int)â:
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h:60: error: cannot convert âINT*â to âSQInteger*â for argument â3â to âSQRESULT sq_getinteger(SQVM*, SQInteger, SQInteger*)â
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h: In function âunsigned char SqPlus::Get(SqPlus::TypeWrapper<unsigned char>, SQVM*, int)â:
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h:61: error: cannot convert âINT*â to âSQInteger*â for argument â3â to âSQRESULT sq_getinteger(SQVM*, SQInteger, SQInteger*)â
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h: In function âshort int SqPlus::Get(SqPlus::TypeWrapper<short int>, SQVM*, int)â:
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h:62: error: cannot convert âINT*â to âSQInteger*â for argument â3â to âSQRESULT sq_getinteger(SQVM*, SQInteger, SQInteger*)â
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h: In function âshort unsigned int SqPlus::Get(SqPlus::TypeWrapper<short unsigned int>, SQVM*, int)â:
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h:63: error: cannot convert âINT*â to âSQInteger*â for argument â3â to âSQRESULT sq_getinteger(SQVM*, SQInteger, SQInteger*)â
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h: In function âint SqPlus::Get(SqPlus::TypeWrapper<int>, SQVM*, int)â:
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h:64: error: cannot convert âINT*â to âSQInteger*â for argument â3â to âSQRESULT sq_getinteger(SQVM*, SQInteger, SQInteger*)â
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h: In function âunsigned int SqPlus::Get(SqPlus::TypeWrapper<unsigned int>, SQVM*, int)â:
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h:65: error: cannot convert âINT*â to âSQInteger*â for argument â3â to âSQRESULT sq_getinteger(SQVM*, SQInteger, SQInteger*)â
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h: In function âlong int SqPlus::Get(SqPlus::TypeWrapper<long int>, SQVM*, int)â:
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h:66: error: cannot convert âINT*â to âSQInteger*â for argument â3â to âSQRESULT sq_getinteger(SQVM*, SQInteger, SQInteger*)â
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h: In function âlong unsigned int SqPlus::Get(SqPlus::TypeWrapper<long unsigned int>, SQVM*, int)â:
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h:67: error: cannot convert âINT*â to âSQInteger*â for argument â3â to âSQRESULT sq_getinteger(SQVM*, SQInteger, SQInteger*)â
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h: In function âbool SqPlus::Get(SqPlus::TypeWrapper<bool>, SQVM*, int)â:
squirrel_3_0_1_stable/sqplus/SqPlusFunctionCallImpl.h:80: error: cannot convert âINT*â to âSQInteger*â for argument â3â to âSQRESULT sq_getinteger(SQVM*, SQInteger, SQInteger*)â
Reply
Thanks given by:


Messages In This Thread



Users browsing this thread: 2 Guest(s)