[FIXED] rev 329-332: can't compile on linux
#1
When compiling rev 329-332 I get the following error:

Code:
source/cEntity.cpp: In member function âvoid cEntity::Destroy()â:
source/cEntity.cpp:181:85: error: no matching function for call to âcWorld::BroadcastToChunk(int&, int&, int&, cPacket_DestroyEntity)â
source/cEntity.cpp:181:85: note: candidate is:
source/cWorld.h:63:7: note: void cWorld::BroadcastToChunk(int, int, int, cPacket&, cClientHandle*)
source/cWorld.h:63:7: note:   no known conversion for argument 4 from âcPacket_DestroyEntityâ to âcPacket&â
make: *** [build/debug/source/cEntity.o] Error 1

I don't understand why the compile-error only happens on Linux (I assume the devs has compiled for Windows just fine) as the changed code in r329 doesn't seem OS-dependent. Am I missing something?
Reply
Thanks given by:
#2
Fixed in rev 333. Seems we were using a feature that GCC didn't support, by accident.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)