[cmake-developers] [CMake 0012394]: Check compiler flags for Clang

Mantis Bug Tracker mantis at public.kitware.com
Mon Aug 8 11:56:02 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=12394 
====================================================================== 
Reported By:                Giuseppe Bilotta
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12394
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-08-08 11:56 EDT
Last Modified:              2011-08-08 11:56 EDT
====================================================================== 
Summary:                    Check compiler flags for Clang
Description: 
The CHECK_C_COMPILER_FLAG and CHECK_CXX_COMPILER_FLAG macros do not properly
detect the warning message with which clang complains about unknown flags

Steps to Reproduce: 
A test such as
CHECK_CXX_COMPILER_FLAG("-Wagoiuhaoigfh" FLAG_IS_KNOWN)
will report Success instead of Fail
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-08-08 11:56 Giuseppe BilottaNew Issue                                    
======================================================================




More information about the cmake-developers mailing list