MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0011615 | CMake | CMake | public | 2010-12-16 12:37 | 2011-01-12 07:59 | |||||
Reporter | Campbell Barton | |||||||||
Assigned To | Brad King | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | Linux 64bit | OS | Arch | OS Version | Arch (rolling) | |||||
Product Version | ||||||||||
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | |||||||
Summary | 0011615: CHECK_C_COMPILER_FLAG Problem, simple fix. | |||||||||
Description | This fails with GCC because the macro compiles "int main() { return 0;}" Simple fix is to change it to "int main(void) { return 0;}" in CheckCCompilerFlag.cmake Example: include(CheckCCompilerFlag) CHECK_C_COMPILER_FLAG(-Werror=strict-prototypes MYRESULT | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2010-12-16 12:37 | Campbell Barton | New Issue | ||||||||
2010-12-16 13:24 | Brad King | Assigned To | => Brad King | |||||||
2010-12-16 13:24 | Brad King | Status | new => assigned | |||||||
2010-12-16 13:37 | Brad King | Note Added: 0024211 | ||||||||
2010-12-16 13:37 | Brad King | Status | assigned => closed | |||||||
2010-12-16 13:37 | Brad King | Resolution | open => fixed | |||||||
2011-01-12 07:59 | David Cole | Fixed in Version | => CMake 2.8.4 | |||||||
2011-01-12 07:59 | David Cole | Target Version | => CMake 2.8.4 | |||||||
2011-01-26 08:52 | Brad King | Relationship added | related to 0011753 |
Notes | |||||
|
|||||
|
|