08-13-2012, 12:51 AM
(This post was last modified: 08-13-2012, 12:56 AM by TheCreeper.)
On the latest revision im getting an error when attempting to compile.
Code:
[loxoko@Apollo mc-server]$ make release=1
/usr/bin/g++ -s -O3 -c -I. -Isource -Isource/md5 -IWebServer -Isource/packets -Isource/items -Isource/blocks -Itolua++-1.0.93/src/lib -Ilua-5.1.4/src -Izlib-1.2.7 -IiniFile -Itolua++-1.0.93/include -Ijsoncpp-src-0.5.0/include -Ijsoncpp-src-0.5.0/src/lib_json -Isquirrel_3_0_1_stable/include -Isquirrel_3_0_1_stable -Isquirrel_3_0_1_stable/sqrat squirrel_3_0_1_stable/squirrel/sqtable.cpp -o build/release/squirrel_3_0_1_stable/squirrel/sqtable.o
In file included from squirrel_3_0_1_stable/squirrel/sqpcheader.h:16:0,
from squirrel_3_0_1_stable/squirrel/sqtable.cpp:4:
squirrel_3_0_1_stable/squirrel/sqobject.h: In member function âvoid SQObjectPtr::Null()â:
squirrel_3_0_1_stable/squirrel/sqobject.h:294:16: warning: converting to non-pointer type âSQRawObjectVal {aka unsigned int}â from NULL [-Wconversion-null]
In file included from squirrel_3_0_1_stable/squirrel/sqobject.h:5:0,
from squirrel_3_0_1_stable/squirrel/sqpcheader.h:16,
from squirrel_3_0_1_stable/squirrel/sqtable.cpp:4:
squirrel_3_0_1_stable/squirrel/squtils.h: In instantiation of âsqvector<T>::~sqvector() [with T = int]â:
squirrel_3_0_1_stable/squirrel/sqclosure.h:142:52: required from here
squirrel_3_0_1_stable/squirrel/squtils.h:46:4: error: âsq_vm_freeâ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from squirrel_3_0_1_stable/squirrel/sqpcheader.h:17:0,
from squirrel_3_0_1_stable/squirrel/sqtable.cpp:4:
squirrel_3_0_1_stable/squirrel/sqstate.h:143:6: note: âvoid sq_vm_free(void*, SQUnsignedInteger)â declared here, later in the translation unit
In file included from squirrel_3_0_1_stable/squirrel/sqobject.h:5:0,
from squirrel_3_0_1_stable/squirrel/sqpcheader.h:16,
from squirrel_3_0_1_stable/squirrel/sqtable.cpp:4:
squirrel_3_0_1_stable/squirrel/squtils.h: In instantiation of âvoid sqvector<T>::_realloc(SQUnsignedInteger) [with T = int; SQUnsignedInteger = unsigned int]â:
squirrel_3_0_1_stable/squirrel/squtils.h:34:4: required from âvoid sqvector<T>::copy(const sqvector<T>&) [with T = int]â
squirrel_3_0_1_stable/squirrel/sqclosure.h:161:34: required from here
squirrel_3_0_1_stable/squirrel/squtils.h:105:3: error: âsq_vm_reallocâ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from squirrel_3_0_1_stable/squirrel/sqpcheader.h:17:0,
from squirrel_3_0_1_stable/squirrel/sqtable.cpp:4:
squirrel_3_0_1_stable/squirrel/sqstate.h:142:7: note: âvoid* sq_vm_realloc(void*, SQUnsignedInteger, SQUnsignedInteger)â declared here, later in the translation unit
make: *** [build/release/squirrel_3_0_1_stable/squirrel/sqtable.o] Error 1
[loxoko@Apollo mc-server]$