Wed 02 Apr 2008 04:25:14 AM UTC, original submission:
With all successful g++ files stripped out, and a lot of duplicate warnings removed, the following compile warnings remain while compiling in MinGW, but not Linux (as far as I can see).
----------------------
g++ -o src\GameGUIDialog.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -Dmain=SDL_main -IC:\msys\1.0\local\include\SDL -IC:\msys\1.0\local\include -IC:\msys\1.0\include\SDL -IC:\msys\1.0\include -Ilibgag\include -I. -IC:\usr\local\include\SDL src\GameGUIDialog.cpp
In file included from src\Game.h:25,
from src\MapEdit.h:27,
from src\EditorMainMenu.cpp:33:
src\Map.h: In constructor `Map::AStarAlgorithmPoint::AStarAlgorithmPoint()':
src\Map.h:793: warning: converting of negative value `-0x000000001' to `Uint16'
src\Map.h:793: warning: converting of negative value `-0x000000001' to `Uint16'
------------------------------------------------------------
g++ -o src\Minimap.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -Dmain=SDL_main -IC:\msys\1.0\local\include\SDL -IC:\msys\1.0\local\include -IC:\msys\1.0\include\SDL -IC:\msys\1.0\include -Ilibgag\include -I. -IC:\usr\local\include\SDL src\Minimap.cpp
In file included from src\Game.h:25,
from src\MapGenerator.cpp:25:
src\MapGenerator.cpp: In member function `bool Map::makeRandomMap(MapGenerationDescriptor&)':
src\MapGenerator.cpp:789: warning: converting to `unsigned int' from `double'
------------------------------------------------------------
g++ -o src\NetBroadcastListener.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -Dmain=SDL_main -IC:\msys\1.0\local\include\SDL -IC:\msys\1.0\local\include -IC:\msys\1.0\include\SDL -IC:\msys\1.0\include -Ilibgag\include -I. -IC:\usr\local\include\SDL src\NetBroadcastListener.cpp
In file included from src\Game.h:25,
from src\GameGUI.h:29,
from src\Engine.h:26,
from src\MultiplayerGame.cpp:21:
src\MultiplayerGame.cpp: In member function `void MultiplayerGame::recieveMessage(boost::shared_ptr<NetMessage>)':
src\MultiplayerGame.cpp:434: warning: converting of negative value `-0x000000001' to `Uint32'
------------------------------------------------------------
g++ -o src\NetMessage.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -Dmain=SDL_main -IC:\msys\1.0\local\include\SDL -IC:\msys\1.0\local\include -IC:\msys\1.0\include\SDL -IC:\msys\1.0\include -Ilibgag\include -I. -IC:\usr\local\include\SDL src\NetMessage.cpp
src\MultiplayerGameScreen.cpp: In constructor `MultiplayerGameScreen::MultiplayerGameScreen(boost::shared_ptr<MultiplayerGame>, boost::shared_ptr<YOGClient>, boost::shared_ptr<IRCTextMessageHandler>)':
src\MultiplayerGameScreen.cpp:41: warning: passing negative value `-0x000000001' for converting 1 of `YOGClientChatChannel::YOGClientChatChannel(Uint32, boost::shared_ptr<YOGClient>)'
------------------------------------------------------------
g++ -o src\NetReteamingInformation.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -Dmain=SDL_main -IC:\msys\1.0\local\include\SDL -IC:\msys\1.0\local\include -IC:\msys\1.0\include\SDL -IC:\msys\1.0\include -Ilibgag\include -I. -IC:\usr\local\include\SDL src\NetReteamingInformation.cpp
src\NetEngine.cpp: In member function `void NetEngine::flushAllOrders()':
src\NetEngine.cpp:152: warning: converting of negative value `-0x000000001' to `Uint32'
src\NetEngine.cpp: In member function `bool NetEngine::matchCheckSums()':
src\NetEngine.cpp:204: warning: converting of negative value `-0x000000001' to `Uint32'
------------------------------------------------------------
g++ -o src\P2PConnection.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -Dmain=SDL_main -IC:\msys\1.0\local\include\SDL -IC:\msys\1.0\local\include -IC:\msys\1.0\include\SDL -IC:\msys\1.0\include -Ilibgag\include -I. -IC:\usr\local\include\SDL src\P2PConnection.cpp
src\Order.cpp: In constructor `Order::Order()':
src\Order.cpp:30: warning: converting of negative value `-0x000000001' to `Uint32'
------------------------------------------------------------
g++ -o src\UnitType.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -Dmain=SDL_main -IC:\msys\1.0\local\include\SDL -IC:\msys\1.0\local\include -IC:\msys\1.0\include\SDL -IC:\msys\1.0\include -Ilibgag\include -I. -IC:\usr\local\include\SDL src\UnitType.cpp
In file included from src\Unit.cpp:25:
src\Map.h: In constructor `Map::AStarAlgorithmPoint::AStarAlgorithmPoint()':
src\Map.h:793: warning: converting of negative value `-0x000000001' to `Uint16'
src\Map.h:793: warning: converting of negative value `-0x000000001' to `Uint16'
src\Unit.cpp: In constructor `Unit::Unit(int, int, Uint16, Sint32, Team*, int)':
src\Unit.cpp:131: warning: converting of negative value `-0x000000001' to `Uint32'
src\Unit.cpp:132: warning: converting of negative value `-0x000000001' to `Uint32'
src\Unit.cpp: In member function `void Unit::load(GAGCore::InputStream, Team, Sint32)':
src\Unit.cpp:221: warning: converting of negative value `-0x000000001' to `Uint32'
src\Unit.cpp:222: warning: converting of negative value `-0x000000001' to `Uint32'
src\Unit.cpp: In member function `void Unit::handleMovement()':
src\Unit.cpp:1411: warning: converting of negative value `-0x000000001' to `Uint32'
src\Unit.cpp:1412: warning: converting of negative value `-0x000000001' to `Uint32'
src\Unit.cpp:1841: warning: converting of negative value `-0x000000001' to `Uint32'
src\Unit.cpp:1842: warning: converting of negative value `-0x000000001' to `Uint32'
src\Unit.cpp:1843: warning: converting of negative value `-0x000000001' to `Uint32'
|