View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014309 | CMake | CMake | public | 2013-07-24 16:20 | 2013-12-02 08:51 | ||||
Reporter | jmcm | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | any | OS | any | OS Version | any | ||||
Product Version | |||||||||
Target Version | CMake 2.8.12 | Fixed in Version | CMake 2.8.12 | ||||||
Summary | 0014309: CHECK_C_COMPILER_FLAG does not behave like the manpage states | ||||||||
Description | The manpage states that CHECK_C_COMPILER_FLAG accepts the same flags as CHECK_C_SOURCE_COMPILES, but then it overwrites CMAKE_REQUIRED_DEFINITIONS. So either the manpage is wrong or the implementation is wrong. I found the bug because I relied on the documented behaviour - I want to have some fixed flags to be passed to all tests. Workaround (as of now untested): pass the flag to test plus all the fixed flags to CHECK_C_COMPILER_FLAG | ||||||||
Steps To Reproduce | Read the source, Luke (Modules/CheckCCompilerFlag.cmake) | ||||||||
Additional Information | At least versions 2.8.9 and git HEAD. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0033602) Brad King (manager) 2013-07-25 08:27 |
Documentation updated: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3e79d656 [^] |
(0034656) Robert Maynard (manager) 2013-12-02 08:51 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-07-24 16:20 | jmcm | New Issue | |
2013-07-25 08:27 | Brad King | Note Added: 0033602 | |
2013-07-25 08:27 | Brad King | Assigned To | => Brad King |
2013-07-25 08:27 | Brad King | Status | new => resolved |
2013-07-25 08:27 | Brad King | Resolution | open => fixed |
2013-07-25 08:27 | Brad King | Fixed in Version | => CMake 2.8.12 |
2013-07-25 08:27 | Brad King | Target Version | => CMake 2.8.12 |
2013-12-02 08:51 | Robert Maynard | Note Added: 0034656 | |
2013-12-02 08:51 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |