From 5a5aee33a6c2c9c64fc0edc08199f7a509dcb525 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 29 May 2014 13:44:06 -0700 Subject: [PATCH] folly/wangle: temporarily disable compilation of Thens.cpp Summary: This code fails to compile with clang:dev, so don't try for now. * folly/wangle/test/Thens.cpp: Don't attempt to compile test/Thens.cpp. See 4412111 for details. Prompted by clang:dev+MSAN effort, 4090011. Test Plan: Run this: fbconfig --clang --with-project-version clang:dev -r folly/wangle fbmake runtests Failed before, passes with this patch. Reviewed By: hans@fb.com Subscribers: folly@lists, fugalh FB internal diff: D1354751 Tasks: 4090011, 4412111 --- folly/wangle/test/Thens.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/folly/wangle/test/Thens.cpp b/folly/wangle/test/Thens.cpp index 633c9252..e7339221 100644 --- a/folly/wangle/test/Thens.cpp +++ b/folly/wangle/test/Thens.cpp @@ -2,6 +2,9 @@ #include "Thens.h" +#ifndef __clang__ +// TODO: fails to compile with clang:dev. See task #4412111 + TEST(Future, thenVariants) { SomeClass anObject; Executor* anExecutor; @@ -17,3 +20,5 @@ TEST(Future, thenVariants) { {Future f = someFuture().then(aStdFunction&&>());} {Future f = someFuture().then([&](Try&&){return B();});} } + +#endif -- 2.34.1