Changeset 7421 for sandbox_qt/cmake/CompilerConfigGCC.cmake
- Timestamp:
- Sep 12, 2010, 12:47:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox_qt/cmake/CompilerConfigGCC.cmake
r7416 r7421 37 37 ) 38 38 39 # Complain about incompatibilities40 COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.4.0" _compare_result)41 IF(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()45 ENDIF()46 47 39 # GCC may not support #pragma GCC system_header correctly when using 48 40 # templates. According to Bugzilla, it was fixed March 07 but tests … … 81 73 # For GCC older than version 4, do not display sign compare warnings 82 74 # because of boost::filesystem (which creates about a hundred per include) 83 ADD_COMPILER_FLAGS("-Wno-sign-compare" GCC_NO_SYSTEM_HEADER_SUPPORT CACHE)75 #ADD_COMPILER_FLAGS("-Wno-sign-compare" GCC_NO_SYSTEM_HEADER_SUPPORT CACHE) 84 76 85 77 # For newer GCC (4.3 and above), don't display hundreds of annoying deprecated
Note: See TracChangeset
for help on using the changeset viewer.