View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015284 | CMake | CMake | public | 2014-12-04 14:33 | 2015-05-04 09:05 | ||||
Reporter | Braden McDaniel | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 3.0.2 | ||||||||
Target Version | CMake 3.2 | Fixed in Version | CMake 3.2 | ||||||
Summary | 0015284: /wd flags in source COMPILE_FLAGS replace /wd flags from other sources in Visual Studio generator | ||||||||
Description | If /wdXXXX flags (i.e., flags to disable specific warnings) are added via the source property COMPILE_FLAGS, these flags replace (rather than complement) any /wdXXXX flags added from other sources (e.g., the CMAKE_CXX_FLAGS variable or the directory COMPILE_FLAGS property). This is the case, at least, when using the Visual Studio 2013 generator. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0037390) Brad King (manager) 2014-12-04 15:42 |
It looks like VS 9 and below combine the flags automatically, but for VS >= 10 we need to add an explicitly reference to get the flags inherited. This should fix it: VS: Inherit target-level "-wd" flags in source files http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f545eb0b [^] |
(0038693) Robert Maynard (manager) 2015-05-04 09:05 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-12-04 14:33 | Braden McDaniel | New Issue | |
2014-12-04 15:42 | Brad King | Note Added: 0037390 | |
2014-12-04 15:43 | Brad King | Assigned To | => Brad King |
2014-12-04 15:43 | Brad King | Status | new => assigned |
2014-12-04 15:43 | Brad King | Target Version | => CMake 3.2 |
2014-12-08 08:56 | Brad King | Status | assigned => resolved |
2014-12-08 08:56 | Brad King | Resolution | open => fixed |
2014-12-08 08:56 | Brad King | Fixed in Version | => CMake 3.2 |
2015-05-04 09:05 | Robert Maynard | Note Added: 0038693 | |
2015-05-04 09:05 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |