bugGlobulation 2 - Bugs: bug #19594, Compiling Warnings

 
 

bug #19594: Compiling Warnings

Submitter:  Kieran <k776>
Submitted:  Sat 14 Apr 2007 11:33:25 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  donkyhotay Open/Closed:  Closed
Release:  None Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 15 Apr 2007 02:18:12 AM UTC, comment #2: 

Indeed it does. Hopefully no fixes that breaks anything ingame :D

This should hopefully get Windows working. Will try it sometime today or tomorrow.

Kieran <k776>
Group administrator
Sun 15 Apr 2007 12:59:57 AM UTC, comment #1: 

glob2 compiles cleanly again

Kevin Clement <donkyhotay>
Group Member
Sat 14 Apr 2007 11:33:25 PM UTC, original submission:  

These may not mean a lot if it compiles fine, but they could build up and cause errors, especially Windows (where its very picky about what it can compile).



AIEcho.cpp: In member function ‘void AIEcho::Gradients::GradientManager::queue_gradient(const AIEcho::Gradients::GradientInfo&)’:
AIEcho.cpp:960: warning: comparison between signed and unsigned integer expressions
AIEcho.cpp: In member function ‘boost::logic::tribool AIEcho::Construction::BuildingOrder::passes_conditions(AIEcho::Echo&)’:
AIEcho.cpp:1545: warning: comparison between signed and unsigned integer expressions
AIEcho.cpp: In member function ‘void AIEcho::Construction::BuildingOrder::queue_gradients(AIEcho::Gradients::GradientManager&)’:
AIEcho.cpp:1562: warning: comparison between signed and unsigned integer expressions
AIEcho.h: In constructor ‘AIEcho::Management::AddRessourceTracker::AddRessourceTracker(int, int, int)’:
AIEcho.h:1230: warning: ‘AIEcho::Management::AddRessourceTracker::ressource’ will be initialized after
AIEcho.h:1229: warning:   ‘int AIEcho::Management::AddRessourceTracker::building_id’
AIEcho.cpp:3267: warning:   when initialized here
AIEcho.cpp: In member function ‘virtual bool AIEcho::Gradients::Entities::Position::load(GAGCore::InputStream*, Player*, Sint32)’:
AIEcho.cpp:553: warning: control reaches end of non-void function
AINicowar.cpp: In member function ‘void NewNicowar::queue_racetracks(AIEcho::Echo&)’:
AINicowar.cpp:353: warning: unused variable ‘total_unit’
AINicowar.cpp: In member function ‘void NewNicowar::queue_swimmingpools(AIEcho::Echo&)’:
AINicowar.cpp:378: warning: unused variable ‘total_unit’
AINicowar.cpp: In member function ‘void NewNicowar::queue_schools(AIEcho::Echo&)’:
AINicowar.cpp:403: warning: unused variable ‘total_unit’
Building.cpp: In member function ‘void Building::loadCrossRef(GAGCore::InputStream*, BuildingsTypes*, Team*, Sint32)’:
Building.cpp:431: warning: unused variable ‘unit’
Campaign.cpp: In member function ‘bool CampaignMapEntry::load(GAGCore::InputStream*, Uint32)’:
Campaign.cpp:111: warning: comparison between signed and unsigned integer expressions
Campaign.cpp: In member function ‘void CampaignMapEntry::save(GAGCore::OutputStream*)’:
Campaign.cpp:132: warning: comparison between signed and unsigned integer expressions
Campaign.cpp: In member function ‘void Campaign::save(bool)’:
Campaign.cpp:195: warning: comparison between signed and unsigned integer expressions
Campaign.cpp: In member function ‘void Campaign::unlockAllFrom(const std::string&)’:
Campaign.cpp:237: warning: comparison between signed and unsigned integer expressions
Campaign.cpp:239: warning: comparison between signed and unsigned integer expressions
CampaignEditor.cpp: In member function ‘virtual void CampaignEditor::onAction(GAGGUI::Widget*, GAGGUI::Action, int, int)’:
CampaignEditor.cpp:93: warning: comparison between signed and unsigned integer expressions
CampaignEditor.cpp:113: warning: comparison between signed and unsigned integer expressions
CampaignEditor.cpp: In member function ‘void CampaignEditor::syncMapList()’:
CampaignEditor.cpp:139: warning: comparison between signed and unsigned integer expressions
CampaignEditor.cpp: In constructor ‘CampaignMapEntryEditor::CampaignMapEntryEditor(Campaign&, CampaignMapEntry&)’:
CampaignEditor.cpp:161: warning: comparison between signed and unsigned integer expressions
CampaignEditor.cpp:166: warning: comparison between signed and unsigned integer expressions
CampaignEditor.cpp: In member function ‘virtual void CampaignMapEntryEditor::onAction(GAGGUI::Widget*, GAGGUI::Action, int, int)’:
CampaignEditor.cpp:198: warning: comparison between signed and unsigned integer expressions
CampaignEditor.cpp:208: warning: comparison between signed and unsigned integer expressions
CampaignMenuScreen.cpp: In constructor ‘CampaignMenuScreen::CampaignMenuScreen(const std::string&)’:
CampaignMenuScreen.cpp:37: warning: comparison between signed and unsigned integer expressions
CampaignMenuScreen.cpp: In member function ‘virtual void CampaignMenuScreen::onAction(GAGGUI::Widget*, GAGGUI::Action, int, int)’:
CampaignMenuScreen.cpp:62: warning: comparison between signed and unsigned integer expressions
CampaignMenuScreen.cpp: In member function ‘std::string CampaignMenuScreen::getMissionName()’:
CampaignMenuScreen.cpp:84: warning: comparison between signed and unsigned integer expressions
Glob2.cpp: In member function ‘int Glob2::run(int, char**)’:
Glob2.cpp:438: warning: unused variable ‘rc_ce’
Glob2.cpp:448: warning: unused variable ‘rc_ce’
MapGenerator.cpp: In member function ‘bool Map::makeRandomMap(MapGenerationDescriptor&)’:
MapGenerator.cpp:778: warning: comparison between signed and unsigned integer expressions
MapGenerator.cpp:826: warning: comparison between signed and unsigned integer expressions
MapGenerator.cpp:862: warning: comparison between signed and unsigned integer expressions
MapGenerator.cpp:863: warning: comparison between signed and unsigned integer expressions
MapGenerator.cpp:959: warning: comparison between signed and unsigned integer expressions
MapGenerator.cpp:960: warning: comparison between signed and unsigned integer expressions
Team.cpp: In member function ‘void Team::add_building_needing_work(Building*)’:
Team.cpp:949: warning: comparison between signed and unsigned integer expressions
Team.cpp: In member function ‘void Team::updateAllBuildingTasks()’:
Team.cpp:973: warning: comparison between signed and unsigned integer expressions

Kieran <k776>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by donkyhotay (Posted a comment)
  • -email is unavailable- added by k776 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-04-15 donkyhotay Open/ClosedOpen Closed
    2007-04-15 donkyhotay StatusNone Fixed
        Assigned toNone donkyhotay

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code