(moved from dev)
gcc 4.8.2 - latest code. Recently it looks like I have a ton more warnings than I did before regarding logging, but it bums out here:-
Code:
/home/vsab/eqemu/zone/spawngroup.cpp: In member function ‘uint32 SpawnGroup::GetNPCType()’:
/home/vsab/eqemu/zone/spawngroup.cpp:54:80: error: cast from ‘SpawnGroup*’ to ‘uint32 {aka unsigned int}’ loses precision [-fpermissive]
Log.Out(Logs::General, Logs::None, "SpawnGroup[%08x]::GetNPCType()", (uint32) this);
^
make[2]: *** [zone/CMakeFiles/zone.dir/spawngroup.cpp.o] Error 1
make[1]: *** [zone/CMakeFiles/zone.dir/all] Error 2
make: *** [all] Error 2
Any ideas how I can get it to compile?