[cmake-developers] cmake --deprecated-warnings and cmake --deprecated-errors

2013-07-30 Thread Stephen Kelly
Hi, It's now possible to invoke cmake with -DCMAKE_WARN_DEPRECATED=1 and also with -DCMAKE_ERROR_DEPRECATED=1 to get deprecation warnings or errors. I wonder if we should add --deprecated-warnings and --deprecated-errors and document them in cmake --help, as --warn-uninitialized etc? I think

Re: [cmake-developers] cmake --deprecated-warnings and cmake --deprecated-errors

2013-07-30 Thread Brad King
On 07/30/2013 06:30 AM, Stephen Kelly wrote: It's now possible to invoke cmake with -DCMAKE_WARN_DEPRECATED=1 and also with -DCMAKE_ERROR_DEPRECATED=1 to get deprecation warnings or errors. I wonder if we should add --deprecated-warnings and --deprecated-errors and document them in cmake

Re: [cmake-developers] cmake --deprecated-warnings and cmake --deprecated-errors

2013-07-30 Thread Stephen Kelly
Brad King wrote: -Wdeprecated -Wdeprecated=error -Wuninitialized Ok, I'll come back to that after 2.8.12. Thanks, Steve. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check

Re: [cmake-developers] cmake --deprecated-warnings and cmake --deprecated-errors

2013-07-30 Thread Matthew Woehlke
On 2013-07-30 08:45, Brad King wrote: On 07/30/2013 06:30 AM, Stephen Kelly wrote: I wonder if we should add --deprecated-warnings and --deprecated-errors and document them in cmake --help, as --warn-uninitialized etc? I think it's something we can do after 2.8.12, but I want to make sure it