Compile Error
(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()’: |
There is a %p escape useful for printing pointers. Pointers do not always fit in 32-bit integers.
|
Nice, using %p and removing the cast fixed the compile (casting in uint64 worked too....), haven't seen the actual output yet....
Code:
Log.Out(Logs::General, Logs::None, "SpawnGroup[%p]::GetNPCType()", this); |
All times are GMT -4. The time now is 04:18 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.