From: Clark Barrett Date: Thu, 28 Apr 2016 21:39:35 +0000 (-0400) Subject: Workaround for a problem in clang X-Git-Tag: cvc5-1.0.0~6049^2~58 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8401e39fafe951b42bd8e6255c3a98be7441029;p=cvc5.git Workaround for a problem in clang --- diff --git a/src/theory/type_enumerator.h b/src/theory/type_enumerator.h index d1318aaa8..bcd7e695f 100644 --- a/src/theory/type_enumerator.h +++ b/src/theory/type_enumerator.h @@ -115,7 +115,7 @@ public: // On Mac clang, there appears to be a code generation bug in an exception // block here. For now, there doesn't appear a good workaround; just disable // assertions on that setup. -#if defined(CVC4_ASSERTIONS) && !(defined(__APPLE__) && defined(__clang__)) +#if defined(CVC4_ASSERTIONS) && !(defined(__clang__)) if(d_te->isFinished()) { try { **d_te;