[cmake-developers] [CMake 0015747]: Regression: -Wno-dev doesn't work any more in CMake 3.4
Mantis Bug Tracker
mantis at public.kitware.com
Wed Sep 16 16:04:06 EDT 2015
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
======================================================================
More information about the cmake-developers
mailing list