[cmake-developers] Use of C++11 in CMake's own source code

Minze Zwerver ysblokje at gmail.com
Fri Sep 23 01:58:10 EDT 2016


That was my merge request.

Which didn't get accepted anyway. I'm currently starting a new clone to
address all the points the CI had.
But after reading this I'll also remove the C++11 stuff.

Minze

On Tue, Sep 20, 2016 at 5:30 PM, Brad King <brad.king at kitware.com> wrote:

> On 09/20/2016 11:12 AM, Craig Scott wrote:
> > some C++11 stuff in at least one recent merge request
>
> We allow C++14 in code guarded by HAVE_SERVER_MODE because that is
> a new/optional feature that doesn't have to work on all platforms yet.
>
> Everything not guarded by HAVE_SERVER_MODE needs to be able to compile
> in all language levels C++98 and above.  We have CM_NULLPTR and similar
> macros to enable C++11 safety checks when building at that level or
> above, but they fall back to C++98-compatible code too.
>
> -Brad
>
> --
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160923/bd273455/attachment-0001.html>


More information about the cmake-developers mailing list