View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015048CMakeCMakepublic2014-07-30 15:052015-01-05 08:39
ReporterErik Lindahl 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
Platformx86OSWindowsOS VersionHPC Server 2008
Product VersionCMake 3.0 
Target VersionCMake 3.0.1Fixed in VersionCMake 3.0.1 
Summary0015048: Semicolon in AIX compiler warning FAIL_REFEX causes it to match other output
DescriptionIn 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 ReproduceWe 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 InformationSuggest to replace semicolon with a period to match any character in the regular expression.
TagsNo tags attached.
Attached Files

 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

 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


Copyright © 2000 - 2018 MantisBT Team