Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 26, 2011, 10:50:18 PM (14 years ago)
Author:
rgrieder
Message:

Remove some extra code that removes warnings in older GCC versions (< 4.0) that nobody uses anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib2/cmake/CompilerConfigGCC.cmake

    r8335 r8340  
    3737  OUTPUT_VARIABLE GCC_VERSION
    3838)
    39 
    40 # GCC may not support #pragma GCC system_header correctly when using
    41 # templates. According to Bugzilla, it was fixed March 07 but tests
    42 # have confirmed that GCC 4.0.0 does not pose a problem for our cases.
    43 COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.0.0" _compare_result)
    44 IF(_compare_result LESS 0)
    45   SET(GCC_NO_SYSTEM_HEADER_SUPPORT TRUE)
    46 ENDIF()
    4739
    4840# GCC only supports PCH in versions 3.4 and above
     
    9486ADD_COMPILER_FLAGS("-fno-strict-aliasing" CACHE)
    9587
    96 # For GCC older than version 4, do not display sign compare warnings
    97 # because of boost::filesystem (which creates about a hundred per include)
    98 ADD_COMPILER_FLAGS("-Wno-sign-compare" GCC_NO_SYSTEM_HEADER_SUPPORT CACHE)
    99 
    10088# For newer GCC (4.3 and above), don't display hundreds of annoying deprecated
    10189# messages. Other versions don't seem to show any such warnings at all.
Note: See TracChangeset for help on using the changeset viewer.