Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1729


Ignore:
Timestamp:
Sep 7, 2008, 10:00:35 AM (16 years ago)
Author:
rgrieder
Message:

Suppressing compiler warnings is not anymore necessary in MultiType (no inheritance with assignment operators).

Location:
code/branches/core3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core3/src/util/MultiType.h

    r1728 r1729  
    3535
    3636#include "Math.h"
    37 
    38 // disable annoying warning about multiple assignment operators
    39 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC
    40 #pragma warning(push)
    41 #pragma warning(disable:4522)
    42 #endif
    4337
    4438enum MT_Type
     
    418412inline void MultiType::setValue(const char* value)                  { if (this->value_) { this->value_->setValue(std::string(value)); } else { this->assignValue(std::string(value)); } }
    419413
    420 
    421 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC
    422 #pragma warning(pop)
    423 #endif
    424 
    425414#endif /* _MultiType_H__ */
  • code/branches/core3/visual_studio/core_properties.vsprops

    r1572 r1729  
    88        <Tool
    99                Name="VCCLCompilerTool"
     10                AdditionalOptions="/MP2"
    1011                PreprocessorDefinitions="CORE_SHARED_BUILD"
    1112        />
  • code/branches/core3/visual_studio/network_properties.vsprops

    r1293 r1729  
    88        <Tool
    99                Name="VCCLCompilerTool"
     10                AdditionalOptions="/MP2"
    1011                PreprocessorDefinitions="ORXONOX_NO_EXPORTS;NETWORK_STATIC_BUILD;WIN32_LEAN_AND_MEAN"
    1112        />
  • code/branches/core3/visual_studio/orxonox_properties.vsprops

    r1572 r1729  
    88        <Tool
    99                Name="VCCLCompilerTool"
     10                AdditionalOptions="/MP2"
    1011                PreprocessorDefinitions="ORXONOX_NO_EXPORTS;NETWORK_STATIC_BUILD"
    1112                UsePrecompiledHeader="2"
Note: See TracChangeset for help on using the changeset viewer.