From: Florian Krohm Date: Fri, 4 Oct 2013 21:13:16 +0000 (+0000) Subject: Disable drd/tests/std_thread.cpp for clang. X-Git-Tag: svn/VALGRIND_3_9_0~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=799f480786515096d74b5a7635bbfcb32d36dba3;p=thirdparty%2Fvalgrind.git 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 --- 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