MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0013294 | CMake | Modules | public | 2012-06-12 12:32 | 2012-11-05 14:33 | |||||
| Reporter | Matthias Kretz | |||||||||
| Assigned To | Brad King | |||||||||
| Priority | normal | Severity | feature | Reproducibility | always | |||||
| Status | closed | Resolution | fixed | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | CMake 2.8.7 | |||||||||
| Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | |||||||
| Summary | 0013294: patch to CheckC(XX)CompilerFlag.cmake to match ICC output | |||||||||
| Description | The Intel compiler reports #10159 if you pass "-std=c++11", which it doesn't support yet. diff --git a/cmake/CheckCCompilerFlag.cmake b/cmake/CheckCCompilerFlag.cmake index 9e698b2..3c904dd 100644 --- a/cmake/CheckCCompilerFlag.cmake +++ b/cmake/CheckCCompilerFlag.cmake @@ -36,6 +36,7 @@ MACRO (CHECK_C_COMPILER_FLAG _FLAG _RESULT) FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro FAIL_REGEX "command option .* is not recognized" # XL FAIL_REGEX "WARNING: unknown flag:" # Open64 + FAIL_REGEX " #10159: " # ICC ) SET (CMAKE_REQUIRED_DEFINITIONS "${SAFE_CMAKE_REQUIRED_DEFINITIONS}") ENDMACRO (CHECK_C_COMPILER_FLAG) diff --git a/cmake/CheckCXXCompilerFlag.cmake b/cmake/CheckCXXCompilerFlag.cmake index b016cae..fccc97b 100644 --- a/cmake/CheckCXXCompilerFlag.cmake +++ b/cmake/CheckCXXCompilerFlag.cmake @@ -36,6 +36,7 @@ MACRO (CHECK_CXX_COMPILER_FLAG _FLAG _RESULT) FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro FAIL_REGEX "command option .* is not recognized" # XL FAIL_REGEX "WARNING: unknown flag:" # Open64 + FAIL_REGEX " #10159: " # ICC ) SET (CMAKE_REQUIRED_DEFINITIONS "${SAFE_CMAKE_REQUIRED_DEFINITIONS}") ENDMACRO (CHECK_CXX_COMPILER_FLAG) | |||||||||
| Steps To Reproduce | check_cxx_compiler_flag("-std=bogus" test) test should be FALSE | |||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2012-06-12 12:32 | Matthias Kretz | New Issue | ||||||||
| 2012-06-12 13:24 | Brad King | Note Added: 0029666 | ||||||||
| 2012-06-12 14:43 | Matthias Kretz | Note Added: 0029667 | ||||||||
| 2012-06-12 14:43 | Matthias Kretz | Note Added: 0029668 | ||||||||
| 2012-06-12 16:39 | Brad King | Relationship added | duplicate of 0012576 | |||||||
| 2012-06-12 16:40 | Brad King | Note Added: 0029672 | ||||||||
| 2012-06-12 16:40 | Brad King | Assigned To | => Brad King | |||||||
| 2012-06-12 16:40 | Brad King | Status | new => resolved | |||||||
| 2012-06-12 16:40 | Brad King | Resolution | open => fixed | |||||||
| 2012-06-12 16:40 | Brad King | Fixed in Version | => CMake 2.8.9 | |||||||
| 2012-06-12 16:40 | Brad King | Target Version | => CMake 2.8.9 | |||||||
| 2012-11-05 14:33 | David Cole | Note Added: 0031451 | ||||||||
| 2012-11-05 14:33 | David Cole | Status | resolved => closed | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||