04-19-2013, 05:50 PM
Look like revision 1395 has some issues when I try and compile.
Checked out revision 1395.
/usr/bin/g++ -s -g -O3 -DNDEBUG -c -I. -Isource -Isource/md5 -IWebServer -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 -Iexpat source/World.cpp -o build/release/source/World.o
source/World.cpp: In member function ‘void cWorld::DoExplosiontAt(float, int, int, int)’:
source/World.cpp:725:72: error: taking address of temporary [-fpermissive]
source/World.cpp:726:72: error: taking address of temporary [-fpermissive]
source/World.cpp:727:72: error: taking address of temporary [-fpermissive]
source/World.cpp:728:72: error: taking address of temporary [-fpermissive]
source/World.cpp:729:72: error: taking address of temporary [-fpermissive]
source/World.cpp:730:72: error: taking address of temporary [-fpermissive]
source/World.cpp:731:72: error: taking address of temporary [-fpermissive]
source/World.cpp:732:72: error: taking address of temporary [-fpermissive]
make: *** [build/release/source/World.o] Error 1
Checked out revision 1395.
/usr/bin/g++ -s -g -O3 -DNDEBUG -c -I. -Isource -Isource/md5 -IWebServer -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 -Iexpat source/World.cpp -o build/release/source/World.o
source/World.cpp: In member function ‘void cWorld::DoExplosiontAt(float, int, int, int)’:
source/World.cpp:725:72: error: taking address of temporary [-fpermissive]
source/World.cpp:726:72: error: taking address of temporary [-fpermissive]
source/World.cpp:727:72: error: taking address of temporary [-fpermissive]
source/World.cpp:728:72: error: taking address of temporary [-fpermissive]
source/World.cpp:729:72: error: taking address of temporary [-fpermissive]
source/World.cpp:730:72: error: taking address of temporary [-fpermissive]
source/World.cpp:731:72: error: taking address of temporary [-fpermissive]
source/World.cpp:732:72: error: taking address of temporary [-fpermissive]
make: *** [build/release/source/World.o] Error 1