The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15322 
====================================================================== 
Reported By:                Braden McDaniel
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15322
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-12-22 11:55 EST
Last Modified:              2014-12-22 11:55 EST
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-12-22 11:55 Braden McDanielNew Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to