EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Compile error on Lubuntu 14.04 lts (https://www.eqemulator.org/forums/showthread.php?t=39366)

vsab 02-15-2015 04:59 AM

Compile error on Lubuntu 14.04 lts
 
gcc 4.8.2

Pulling down the latest code (hash db3feafe48). I get this trying to build zone. Looks like my compiler is being overly strict. Any ideas?

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



All times are GMT -4. The time now is 11:19 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.