summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in3
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