View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012394CMakeModulespublic2011-08-08 11:562012-02-06 06:07
ReporterGiuseppe Bilotta 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinux x86_64OSDebianOS Versionunstable
Product Version 
Target VersionCMake 2.8.6Fixed in VersionCMake 2.8.6 
Summary0012394: Check compiler flags for Clang
DescriptionThe 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 ReproduceA test such as
CHECK_CXX_COMPILER_FLAG("-Wagoiuhaoigfh" FLAG_IS_KNOWN)
will report Success instead of Fail
TagsNo tags attached.
Attached Filespatch file icon 0001-Fix-CHECK_-C-CXX-_COMPILER_FLAG-for-Clang.patch [^] (2,011 bytes) 2011-08-08 11:57 [Show Content]

 Relationships
related to 0009516closedBrad King CHECK_COMPILER_FLAG and CHECK_CXX_COMPILER_FLAG won't detect unrecognized options with GCC 

  Notes
(0027180)
Giuseppe Bilotta (reporter)
2011-08-08 11:57

The attached file is a git patch that fixes the issues.
(0027181)
Brad King (manager)
2011-08-08 12:54

It looks like that patch was adapted from

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=53fb07ef [^]

Thanks.
(0027182)
Brad King (manager)
2011-08-08 13:00

Fixed, thanks:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ed6be501 [^]
(0028505)
David Cole (manager)
2012-02-06 06:07

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2011-08-08 11:56 Giuseppe Bilotta New Issue
2011-08-08 11:57 Giuseppe Bilotta File Added: 0001-Fix-CHECK_-C-CXX-_COMPILER_FLAG-for-Clang.patch
2011-08-08 11:57 Giuseppe Bilotta Note Added: 0027180
2011-08-08 12:54 Brad King Assigned To => Brad King
2011-08-08 12:54 Brad King Status new => assigned
2011-08-08 12:54 Brad King Relationship added related to 0009516
2011-08-08 12:54 Brad King Note Added: 0027181
2011-08-08 13:00 Brad King Note Added: 0027182
2011-08-08 13:00 Brad King Status assigned => resolved
2011-08-08 13:00 Brad King Resolution open => fixed
2011-09-12 17:16 David Cole Fixed in Version => CMake 2.8.6
2011-09-12 17:16 David Cole Target Version => CMake 2.8.6
2012-02-06 06:07 David Cole Note Added: 0028505
2012-02-06 06:07 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team