From: Jim Meyering Date: Thu, 29 May 2014 20:44:06 +0000 (-0700) Subject: folly/wangle: temporarily disable compilation of Thens.cpp X-Git-Tag: v0.22.0~525 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5a5aee33a6c2c9c64fc0edc08199f7a509dcb525;p=folly.git 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 --- 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