diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-07-19 12:43:58 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-11-05 18:30:41 +0100 |
commit | 7770ce574efd1f089619fbc2f4b901b64852e197 (patch) | |
tree | 157a2bcd5fffe66f91600a4efb81482b401a73ae /configure.in | |
parent | 8d9cdb74ef715aefc5c962569008dca0a8212db1 (diff) |
Detect failing Clang with GCC 4.7 headers and --std=gnu++0x scenarios
Change-Id: I6caa48a428ac7fef23f7c3e6fc7896b7e3a8d0fc
Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 2f01827d2db4..cd3c4ca61261 100644 --- a/configure.in +++ b/configure.in @@ -4839,6 +4839,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 |