On 18 October 2017 at 16:05, Gert Wollny <[email protected]> wrote:
> Add a check that tests whether the c++ compiler supports c++11, either by 
> default,
> by adding the compiler flag -std=c++11, or by adding a compiler flag that the 
> user
> has specified via the environment variable CXX11_CXXFLAGS.
>
> The test only does a very shallow check of c++11 support, i.e. it tests 
> whether
> the define  __cplusplus >= 201103L to confirm language support by the 
> compiler,
> and it checks whether the header <tuple> is available to test the availability
> of the c++11 standard library.
>
> A make file conditional HAVE_STD_CXX11 is provided that is used in this patch 
> to
> to enable the tests in mesa/st if C++11 support is available.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102665

Patch 1/3 is
Acked-by: Emil Velikov <[email protected]>

Patches 2/3 and 3/3 are
Reviewed-by: Emil Velikov <[email protected]>

Gert, I'll push these in a day or two. Please continue to keep an eye
open for related bugs.

Thanks
Emil
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to