[cmake-developers] [PATCH] Features: Only enable C11 support on GCC >= 4.9.

Raphael Kubo da Costa rakuco at FreeBSD.org
Mon Sep 14 14:29:04 EDT 2015


Brad King <brad.king at kitware.com> writes:

> In this case CMake itself cannot build with C11 on this compiler/platform
> combination so we should not try to do so.  We already have some checks
> here:
>
>  http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=CMakeLists.txt;hb=v3.3.1#l39
>
> to decide whether to try using the latest standard or not.  One could
> add a check for the case in question if necessary.

Do you mean checking for FreeBSD and compiler version? I thought it'd be
too specific for upstream and was just going to make it be built with a
different standard (or no standard) on FreeBSD itself.



More information about the cmake-developers mailing list