From 799f480786515096d74b5a7635bbfcb32d36dba3 Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Fri, 4 Oct 2013 21:13:16 +0000 Subject: [PATCH] Disable drd/tests/std_thread.cpp for clang. clang 3.3 produces an error message for /usr/include/c++/4.6/chrono which happens to get included somewhere inside . This happens with C++ headers from: gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13620 --- drd/tests/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drd/tests/Makefile.am b/drd/tests/Makefile.am index 2067c0d001..dabbe52ec0 100644 --- a/drd/tests/Makefile.am +++ b/drd/tests/Makefile.am @@ -365,10 +365,14 @@ check_PROGRAMS += \ tsan_unittest endif +# clang 3.3 will generate errors about libstdc++ headers from +# gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 +if ! COMPILER_IS_CLANG if HAVE_SHARED_POINTER_ANNOTATION check_PROGRAMS += \ std_thread endif +endif if HAVE_OPENMP check_PROGRAMS += omp_matinv omp_prime omp_printf -- 2.47.2