Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6503


Ignore:
Timestamp:
Mar 11, 2010, 11:44:51 AM (14 years ago)
Author:
rgrieder
Message:

Disabled some more warnings in MultiType that OGRE v1.7 revealed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/util/CMakeLists.txt

    r6105 r6503  
    4040  SET_SOURCE_FILES_PROPERTIES(MultiType.cc PROPERTIES COMPILE_FLAGS "-w")
    4141ENDIF()
     42IF(MSVC)
     43  # Simply using #pragma warning(disable:4244) doesn't really disable it
     44  # if the warning occurs in a template in another file
     45  # Hence promote it manually to a higher warning level (4)
     46  SET_SOURCE_FILES_PROPERTIES(MultiType.cc PROPERTIES COMPILE_FLAGS "-w44244")
     47ENDIF()
    4248
    4349ORXONOX_ADD_LIBRARY(util
Note: See TracChangeset for help on using the changeset viewer.