have done that one adjustment, but there are much more errors now. probably some more things got broken.
../../../../src/include/scripting/sqplus/sqplus.h:346: error: invalid conversion
from 'int (*)(SQVM*)' to 'SQInteger (*)(SQVM*)'
../../../../src/include/scripting/sqplus/sqplus.h:346: error: initializing arg
ument 2 of 'static SquirrelObject SquirrelVM::CreateFunction(SquirrelObject&, SQ
Integer (*)(SQVM*), const SQChar*, const SQChar*)'
../../../../src/include/scripting/sqplus/sqplus.h:347: error: invalid conversion
from 'int (*)(SQVM*)' to 'SQInteger (*)(SQVM*)'
../../../../src/include/scripting/sqplus/sqplus.h:347: error: initializing arg
ument 2 of 'static SquirrelObject SquirrelVM::CreateFunction(SquirrelObject&, SQ
Integer (*)(SQVM*), const SQChar*, const SQChar*)'
../../../../src/include/scripting/sqplus/sqplus.h: In function 'void SqPlus::cre
ateInstanceSetGetHandlers(SquirrelObject&)':
../../../../src/include/scripting/sqplus/sqplus.h:377: error: invalid conversion
from 'int (*)(SQVM*)' to 'SQInteger (*)(SQVM*)'
../../../../src/include/scripting/sqplus/sqplus.h:377: error: initializing arg
ument 2 of 'static SquirrelObject SquirrelVM::CreateFunction(SquirrelObject&, SQ
Integer (*)(SQVM*), const SQChar*, const SQChar*)'
../../../../src/include/scripting/sqplus/sqplus.h:378: error: invalid conversion
from 'int (*)(SQVM*)' to 'SQInteger (*)(SQVM*)'
../../../../src/include/scripting/sqplus/sqplus.h:378: error: initializing arg
ument 2 of 'static SquirrelObject SquirrelVM::CreateFunction(SquirrelObject&, SQ
Integer (*)(SQVM*), const SQChar*, const SQChar*)'
../../../../src/include/scripting/sqplus/sqplus.h: In function 'char SqPlus::Get
(SqPlus::TypeWrapper<char>, SQVM*, int)':
../../../../src/include/scripting/sqplus/sqplus.h:1890: error: cannot convert 'I
NT*' to 'SQInteger*' for argument '3' to 'SQRESULT sq_getinteger(SQVM*, SQIntege
r, SQInteger*)'
../../../../src/include/scripting/sqplus/sqplus.h: In function 'unsigned char Sq
Plus::Get(SqPlus::TypeWrapper<unsigned char>, SQVM*, int)':
../../../../src/include/scripting/sqplus/sqplus.h:1891: error: cannot convert 'I
NT*' to 'SQInteger*' for argument '3' to 'SQRESULT sq_getinteger(SQVM*, SQIntege
r, SQInteger*)'
../../../../src/include/scripting/sqplus/sqplus.h: In function 'short int SqPlus
::Get(SqPlus::TypeWrapper<short int>, SQVM*, int)':
../../../../src/include/scripting/sqplus/sqplus.h:1892: error: cannot convert 'I
NT*' to 'SQInteger*' for argument '3' to 'SQRESULT sq_getinteger(SQVM*, SQIntege
r, SQInteger*)'
../../../../src/include/scripting/sqplus/sqplus.h: In function 'short unsigned i
nt SqPlus::Get(SqPlus::TypeWrapper<short unsigned int>, SQVM*, int)':
../../../../src/include/scripting/sqplus/sqplus.h:1893: error: cannot convert 'I
NT*' to 'SQInteger*' for argument '3' to 'SQRESULT sq_getinteger(SQVM*, SQIntege
r, SQInteger*)'
../../../../src/include/scripting/sqplus/sqplus.h: In function 'int SqPlus::Get(
SqPlus::TypeWrapper<int>, SQVM*, int)':
../../../../src/include/scripting/sqplus/sqplus.h:1894: error: cannot convert 'I
NT*' to 'SQInteger*' for argument '3' to 'SQRESULT sq_getinteger(SQVM*, SQIntege
r, SQInteger*)'
../../../../src/include/scripting/sqplus/sqplus.h: In function 'unsigned int SqP
lus::Get(SqPlus::TypeWrapper<unsigned int>, SQVM*, int)':
../../../../src/include/scripting/sqplus/sqplus.h:1895: error: cannot convert 'I
NT*' to 'SQInteger*' for argument '3' to 'SQRESULT sq_getinteger(SQVM*, SQIntege
r, SQInteger*)'
../../../../src/include/scripting/sqplus/sqplus.h: In function 'long int SqPlus: :Get(SqPlus::TypeWrapper<long int>, SQVM*, int)':
../../../../src/include/scripting/sqplus/sqplus.h:1896: error: cannot convert 'I NT*' to 'SQInteger*' for argument '3' to 'SQRESULT sq_getinteger(SQVM*, SQIntege r, SQInteger*)'
../../../../src/include/scripting/sqplus/sqplus.h: In function 'long unsigned in t SqPlus::Get(SqPlus::TypeWrapper<long unsigned int>, SQVM*, int)':
../../../../src/include/scripting/sqplus/sqplus.h:1897: error: cannot convert 'I NT*' to 'SQInteger*' for argument '3' to 'SQRESULT sq_getinteger(SQVM*, SQIntege r, SQInteger*)'
Hopefully tomorrow or Friday I can take a look at it. Thing is, during the day time currently no 64bit machine available
EDIT : @Morton : were there out places where such things got removed ??
At first sight it doesn't look good for the moment ...
EDIT : we could maybe simplify things by just following this suggestion :
Compiling squirrel on 64 bits platforms requires to define the _SQ64 variable so I have added in squirrel Makefile the flag -D_SQ64 in CXXFLAGS and then the compilation succeed.
but in a portable way then, in the makefile and in the cbp files. So probably the old style is better : _LP64 --> _SQ64, but in the current code this seems not to be sufficient.
just by looking at sqplus.h I see that a lot of SQInteger are now replaced by int. Were does SQIntegers put there by the original authors or were that CB adjustments which got lost in the update ??