[cmake-developers] [CMake 0015349]: The regular expression in CMakeDetermineCompilerID.cmake strips out qnxnto

Mantis Bug Tracker mantis at public.kitware.com
Wed Jan 14 09:14:07 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15349 
====================================================================== 
Reported By:                Rodney Dowdall
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15349
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-01-14 09:14 EST
Last Modified:              2015-01-14 09:14 EST
====================================================================== 
Summary:                    The regular expression in
CMakeDetermineCompilerID.cmake strips out qnxnto
Description: 
The regular expression that is used to determine compiler info on line 425 of
CMakeDetermineCompilerID.cmake fails to match qnxnto.  This means that you
cannot use cmake to generate Makefiles for qcc anymore.  What happens is that it
fails to set the COMPILER_QNXNTO variable and then further on down the process
it adds compiler flags for a GNU compiler that are not supported by the qcc
compiler. If this regular expression is removed, then cmake correctly identifies
qcc and sets the COMPILER_QNXNTO variable. 

Steps to Reproduce: 
Set the CMAKE_C_COMPILER to "qcc" and the DCMAKE_CXX_COMPILER="qcc" and try and
build something like webkit.  It will pass in the -isystem flag to the qcc
compiler.  This flag is not supported.  You will also see a message about
failing to determine compiler settings while cmake is generating the cmake
files.  If you remove the regular expression from the
CMakeDetermineCompilerID.cmake file, then that message disappears. 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-01-14 09:14 Rodney Dowdall New Issue                                    
======================================================================



More information about the cmake-developers mailing list