[cmake-developers] [CMake 0015048]: Semicolon in AIX compiler warning FAIL_REFEX causes it to match other output

Mantis Bug Tracker mantis at public.kitware.com
Wed Jul 30 15:05:21 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15048 
====================================================================== 
Reported By:                Erik Lindahl
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15048
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-07-30 21:05 CEST
Last Modified:              2014-07-30 21:05 CEST
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-07-30 21:05 Erik Lindahl   New Issue                                    
======================================================================



More information about the cmake-developers mailing list