]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Disable drd/tests/std_thread.cpp for clang.
authorFlorian Krohm <florian@eich-krohm.de>
Fri, 4 Oct 2013 21:13:16 +0000 (21:13 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Fri, 4 Oct 2013 21:13:16 +0000 (21:13 +0000)
clang 3.3 produces an error message for /usr/include/c++/4.6/chrono
which happens to get included somewhere inside <thread>.
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

index 2067c0d001a796c581c76a4e9a9d09f00e163a4d..dabbe52ec061840a7b7dce9d01388640f042eeea 100644 (file)
@@ -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