On 07/08/2015 04:01 PM, Michael Scott wrote:
> Making dev influence deprecation variables is not a problem. To support 
> -Werror=dev we'll need a new variable I'm thinking though, something 
> like a boolean CMAKE_SUPPRESS_DEVELOPER_ERRORS?

Yes, thanks.

> What should be the expected behaviour when combining dev and deprecated 
> now, as they affect each other. If for example the user used the options 
> "-Wno-deprecated -Wdev" in a cmake invocation, the most logical to me 
> would be that this causes CMAKE_SUPPRESS_DEVELOPER_WARNINGS to be TRUE 
> and CMAKE_WARN_DEPRECATED to be FALSE, but implementing that might make 
> the code more complicated than I'd hoped.

Yes, I think you'll need some kind of tracking for what settings were
explicitly specified.

Thanks,
-Brad


P.S.  Your mailer is breaking the message threading.

-- 

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