Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5702


Ignore:
Timestamp:
Aug 30, 2009, 1:19:53 PM (15 years ago)
Author:
rgrieder
Message:

Added incompatibility warning: Orxonox does not compile with GCC 4.4 and later in conjunction with boost 1.36 and earlier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/CompilerConfigGCC.cmake

    r5695 r5702  
    2525
    2626INCLUDE(FlagUtilities)
     27INCLUDE(CompareVersionStrings)
    2728
    2829# Shortcut for CMAKE_COMPILER_IS_GNUCXX and ..._GNUC
     
    3637)
    3738
     39# Complain about incompatibilities
     40COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.4.0" _compare_result)
     41IF(NOT _compare_result LESS 0)
     42  IF(${Boost_VERSION} LESS 103700)
     43    MESSAGE(STATUS "Warning: Boost versions earlier than 1.37 may not compile with GCC 4.4 or later!")
     44  ENDIF()
     45ENDIF()
     46
    3847# GCC may not support #pragma GCC system_header correctly when using
    3948# templates. According to Bugzilla, it was fixed March 07 but tests
    4049# have confirmed that GCC 4.0.0 does not pose a problem for our cases.
    41 INCLUDE(CompareVersionStrings)
    4250COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.0.0" _compare_result)
    4351IF(_compare_result LESS 0)
Note: See TracChangeset for help on using the changeset viewer.