The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15747 
====================================================================== 
Reported By:                James Johnston
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15747
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-09-16 16:04 EDT
Last Modified:              2015-09-16 16:04 EDT
====================================================================== 
Summary:                    Regression:  -Wno-dev doesn't work any more in CMake
3.4
Description: 
The -Wno-dev option doesn't work any more in CMake 3.4.

Tested on the master branch, commit ID febeabbf0b221a19bd4bf16ba7620af22d8dba17

Steps to Reproduce: 
1.  Create a simple CMakeLists.txt like this:

cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
project(DevWarn)
configure_file(infile outfile dummy_arg)

2.  Try to configure it with -Wno-dev:

cmake "-GVisual Studio 9 2008" -Wno-dev ..\DevWarn

3.  Observe the following error...

<snip>
CMake Warning (dev) at CMakeLists.txt:3 (configure_file):
  configure_file called with unknown argument(s):

   dummy_arg

This warning is for project developers.  Use -Wno-dev to suppress it.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-09-16 16:04 James Johnston New 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