View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015747 | CMake | CMake | public | 2015-09-16 16:04 | 2016-02-01 09:10 | ||||
Reporter | James Johnston | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Visual Studio 2008 | OS | Windows 7 | OS Version | |||||
Product Version | CMake 3.4 | ||||||||
Target Version | CMake 3.4 | Fixed in Version | CMake 3.4 | ||||||
Summary | 0015747: 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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0039429) Brad King (manager) 2015-09-16 16:15 |
Likely candidate: cmake: Add -W options to control deprecation warnings and errors http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c96fe0b4 [^] but I've not tested. Do you mind bisecting? |
(0039430) James Johnston (developer) 2015-09-16 18:29 |
I can confirm that: cmake: Add -W options to control deprecation warnings and errors http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c96fe0b4 [^] is the commit that caused this regression. The above test procedure reproduces on the above commit, but does not repro on its parent commit. |
(0039436) Brad King (manager) 2015-09-17 09:46 |
Relevant mailing list thread: Add command line options for deprecation message control http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/13798/focus=14426 [^] |
(0039482) Brad King (manager) 2015-09-25 16:26 |
After discussion on the list linked in 0015747:0039436 I've decided to revert the feature that caused this regression for now: Revert topic 'cmake-W-options' http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=81739e92 [^] We've also added a test covering the regressed case: Tests: Add case for -Wdev and -Wno-dev with non-message() warnings http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bc3e1e4b [^] |
(0040423) Robert Maynard (manager) 2016-02-01 09:10 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-09-16 16:04 | James Johnston | New Issue | |
2015-09-16 16:13 | Brad King | Target Version | => CMake 3.4 |
2015-09-16 16:15 | Brad King | Note Added: 0039429 | |
2015-09-16 18:29 | James Johnston | Note Added: 0039430 | |
2015-09-17 09:46 | Brad King | Note Added: 0039436 | |
2015-09-25 16:26 | Brad King | Note Added: 0039482 | |
2015-09-25 16:26 | Brad King | Assigned To | => Brad King |
2015-09-25 16:26 | Brad King | Status | new => resolved |
2015-09-25 16:26 | Brad King | Resolution | open => fixed |
2015-09-25 16:26 | Brad King | Fixed in Version | => CMake 3.4 |
2016-02-01 09:10 | Robert Maynard | Note Added: 0040423 | |
2016-02-01 09:10 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |