View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
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 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0029666) Brad King (manager) 2012-06-12 13:24 |
What version of the Intel compiler is this and on what platform? What is the full output from the compiler? |
(0029667) Matthias Kretz (reporter) 2012-06-12 14:43 |
ICC version is 12.1.3 20120212 The full output is: "command line warning #10159: invalid argument for option '-std'" |
(0029668) Matthias Kretz (reporter) 2012-06-12 14:43 |
ah sorry, Linux. More specifically Kubuntu 12.04. |
(0029672) Brad King (manager) 2012-06-12 16:40 |
This case is handled already by a change for issue 0012576: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f621ead8 [^] |
(0031451) David Cole (manager) 2012-11-05 14:33 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |