PDA

Просмотр полной версии : [9107] Fix most of the gcc warnings


newsbot
03.01.2010, 17:30
<pre>m src/game/Creature.cpp
m src/game/GameObject.cpp
m src/game/Map.cpp
m src/game/Map.h
m src/game/MiscHandler.cpp
m src/game/ObjectMgr.cpp
m src/game/Player.cpp
m src/game/PoolManager.cpp
m src/game/WorldSession.cpp
m src/mangosd/CliRunnable.cpp
m src/shared/Common.h
m src/shared/Database/SqlOperations.cpp
m src/shared/Log.cpp
m src/shared/revision_nr.h

[9107] Fix most of the gcc warnings

* use UI64FMTD instead of "%u" for uint64 output
* on most *NIX systems, I64FMT is "%016lX" and not "%016llX"
* also fix typo: renamed GridMap::loadHeihgtData to GridMap::loadHeightData

Note: there are still many warnings from the 3rd party libraries g3dlite and ACE. Those warnings won't be fixed with that commit.
Also, a few warnings from MaNGOS are left, they'll be fixed later.

Signed-off-by: XTZGZoReX <xtzgzorex@gmail.com></pre>



Дальше... (http://github.com/mangos/mangos/commit/75a840331cb51e7b0b94e5f4991a1d65af249f0b)