View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015048 | CMake | CMake | public | 2014-07-30 15:05 | 2015-01-05 08:39 | ||||
Reporter | Erik Lindahl | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | x86 | OS | Windows | OS Version | HPC Server 2008 | ||||
Product Version | CMake 3.0 | ||||||||
Target Version | CMake 3.0.1 | Fixed in Version | CMake 3.0.1 | ||||||
Summary | 0015048: Semicolon in AIX compiler warning FAIL_REFEX causes it to match other output | ||||||||
Description | In CMakeCheckCompilerFlagCommonPatterns.cmake of CMake-3.0, the FAIL_REGEX string for AIX contains a semicolon. This appears to cause the string to be split in two entries (since CMake uses semicolon as a separator for lists). Since the part after the semicolon is merely the word "ignored", any compiler producing that word in the output will have a failure triggered. | ||||||||
Steps To Reproduce | We found this when using the Intel 12.1.0 compiler on Windows HPC 2008 since that emits the linker warning "LINK : warning LNK4224: /INCREMENTAL:YES is no longer supported; ignored", which caused the above test to trigger for the "ignored" word. | ||||||||
Additional Information | Suggest to replace semicolon with a period to match any character in the regular expression. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0036504) Brad King (manager) 2014-07-30 15:13 |
Please try this patch: - FAIL_REGEX "not supported in this configuration; ignored" # AIX + FAIL_REGEX "not supported in this configuration. ignored" # AIX |
(0036505) Erik Lindahl (reporter) 2014-07-30 15:15 |
Already confirmed to work! |
(0036506) Rolf Eike Beer (developer) 2014-07-30 15:19 |
Just quote the semicolon: "... configuration\\; ignored" |
(0036507) Brad King (manager) 2014-07-30 15:21 |
Re 0015048:0036506: CMake generally does not support ';' in list values, and that kind of escape only works for one level of evaluation. To avoid breaking this in the future it is much simpler to match with '.'. |
(0036508) Brad King (manager) 2014-07-30 15:23 |
Re 0015048:0036505: Thanks for testing. Applied: Check*CompilerFlag: Avoid ';' in common pattern http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cac91206 [^] |
(0037608) Robert Maynard (manager) 2015-01-05 08:39 |
Closing resolved issues that have not been updated in more than 4 months |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-07-30 15:05 | Erik Lindahl | New Issue | |
2014-07-30 15:13 | Brad King | Note Added: 0036504 | |
2014-07-30 15:15 | Erik Lindahl | Note Added: 0036505 | |
2014-07-30 15:19 | Rolf Eike Beer | Note Added: 0036506 | |
2014-07-30 15:21 | Brad King | Note Added: 0036507 | |
2014-07-30 15:23 | Brad King | Note Added: 0036508 | |
2014-07-30 15:24 | Brad King | Assigned To | => Brad King |
2014-07-30 15:24 | Brad King | Status | new => assigned |
2014-07-30 15:24 | Brad King | Target Version | => CMake 3.0.1 |
2014-08-05 13:02 | Brad King | Status | assigned => resolved |
2014-08-05 13:02 | Brad King | Resolution | open => fixed |
2014-08-05 13:02 | Brad King | Fixed in Version | => CMake 3.0.1 |
2015-01-05 08:39 | Robert Maynard | Note Added: 0037608 | |
2015-01-05 08:39 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |