View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015322 | CMake | CMake | public | 2014-12-22 11:55 | 2015-05-04 09:05 | ||||
Reporter | Braden McDaniel | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 3.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015322: Double backslash to escape '#' in CMAKE_CXX_FLAGS no longer works | ||||||||
Description | In versions of CMake prior to 3.1.0, this worked: set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-\\#pragma-messages") In CMake 3.1.0, that no longer works; this, however, does: set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-#pragma-messages") I'm not sure if this is a deliberate change or not; but it's a slightly annoying break with backward compatibility. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0037507) Brad King (manager) 2014-12-22 13:22 |
This is because CMake now correctly escapes # itself. See 0015070:0036604. |
(0037522) Brad King (manager) 2014-12-23 08:28 |
I've updated the 3.1 release notes to point out this behavior change: Help: Add 3.1 release note about '#' escaping in Makefiles http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8d70a914 [^] |
(0038708) 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-22 11:55 | Braden McDaniel | New Issue | |
2014-12-22 13:21 | Brad King | Relationship added | related to 0015070 |
2014-12-22 13:22 | Brad King | Note Added: 0037507 | |
2014-12-22 13:23 | Brad King | Status | new => resolved |
2014-12-22 13:23 | Brad King | Resolution | open => no change required |
2014-12-23 08:28 | Brad King | Note Added: 0037522 | |
2015-05-04 09:05 | Robert Maynard | Note Added: 0038708 | |
2015-05-04 09:05 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |