bugGlobulation 2 - Bugs: bug #19594, Compiling Warnings

 
 

bug #19594: Compiling Warnings

Submitted by:  Kieran <k776>
Submitted on:  Sat 14 Apr 2007 11:33:25 PM UTC  
 
Severity: 2 - MinorStatus: Fixed
Assigned to: Kevin Clement <donkyhotay>Open/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Administrator
Sun 15 Apr 2007 12:59:57 AM UTC, comment #1:

glob2 compiles cleanly again

Kevin Clement <donkyhotay>
Project MemberIn charge of this item.
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>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 15 Apr 2007 01:00:08 AM UTCdonkyhotayOpen/ClosedOpen=>Closed
    Sun 15 Apr 2007 12:59:57 AM UTCdonkyhotayStatusNone=>Fixed
      Assigned toNone=>donkyhotay

    Back to the top


    Powered by Savane 3.1-cleanup1