configure.in | 3 +++ 1 file changed, 3 insertions(+) New commits: commit 7ab95915ec2cf7bd9a602daad80a07c4a325c420 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Jul 19 12:43:58 2012 +0200
Detect failing Clang with GCC 4.7 headers and --std=gnu++0x scenarios Change-Id: I6caa48a428ac7fef23f7c3e6fc7896b7e3a8d0fc Signed-off-by: LuboÅ¡ LuÅák <l.lu...@suse.cz> diff --git a/configure.in b/configure.in index b2ae537..e81566e 100644 --- a/configure.in +++ b/configure.in @@ -4741,6 +4741,9 @@ if test "$GCC" = "yes"; then AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <stddef.h> +#include <vector> + // some Clang fail when compiling against GCC 4.7 headers with --std=gnu++0x + template <typename T, size_t S> char (&sal_n_array_size( T(&)[S] ))[S]; namespace
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits