Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 1, 2008, 2:00:08 PM (17 years ago)
Author:
rgrieder
Message:
  • removed warnings on msvc compiler
  • on msvc: loader is now built with orxonox, not as a separate library
Location:
code/branches/FICN/src/orxonox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/Orxonox.cc

    r768 r782  
    282282      COUT(3) << "Info: network framelistener added" << std::endl;
    283283    }
    284     catch(std::exception &e)
     284    catch(...)
    285285    {
    286286      COUT(1) << "Error: There was a problem initialising the server :(" << std::endl;
  • code/branches/FICN/src/orxonox/OrxonoxPlatform.h

    r768 r782  
    211211
    212212// disable: "conversion from 'double' to 'float', possible loss of data
    213 #   pragma warning (disable : 4244)
     213//#   pragma warning (disable : 4244)
    214214
    215215// disable: "conversion from 'size_t' to 'unsigned int', possible loss of data
    216 #   pragma warning (disable : 4267)
     216//#   pragma warning (disable : 4267)
    217217
    218218// disable: "truncation from 'double' to 'float'
     
    221221// disable: "<type> needs to have dll-interface to be used by clients'
    222222// Happens on STL member variables which are not public therefore is ok
    223 #   pragma warning (disable : 4251)
     223//#   pragma warning (disable : 4251)
    224224
    225225// disable: "non dll-interface class used as base for dll-interface class"
  • code/branches/FICN/src/orxonox/core/Language.cc

    r729 r782  
    245245            if (lineString.compare("") != 0)
    246246            {
    247                 unsigned int pos = (unsigned int)lineString.find('=');
     247                unsigned int pos = lineString.find('=');
    248248
    249249                // Check if the length is at least 3 and if there's an entry before and behind the =
     
    288288            if (lineString.compare("") != 0)
    289289            {
    290                 unsigned int pos = (unsigned int)lineString.find('=');
     290                unsigned int pos = lineString.find('=');
    291291
    292292                // Check if the length is at least 3 and if there's an entry before and behind the =
  • code/branches/FICN/src/orxonox/objects/Model.cc

    r742 r782  
    6969
    7070    void Model::registerAllVariables(){
    71       registerVar(&meshSrc_, (int)meshSrc_.length() + 1, network::STRING);
     71      registerVar(&meshSrc_, meshSrc_.length() + 1, network::STRING);
    7272    }
    7373}
Note: See TracChangeset for help on using the changeset viewer.