<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>I'm still getting build errors:</div><div><br></div><div><font class="Apple-style-span" face="Menlo">/Volumes/Data/projects/llvm-work/lib/Analysis/ConstantFolding.cpp:34:10: fatal error: 'llvm/Support/FEnv.h' file not found</font></div><div><font class="Apple-style-span" face="Menlo">#include "llvm/Support/FEnv.h"</font></div></div><br><div><div>On Jun 23, 2011, at 9:37 AM, Rafael Espindola wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Author: rafael<br>Date: Thu Jun 23 08:37:38 2011<br>New Revision: 133714<br><br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=133714&view=rev">http://llvm.org/viewvc/llvm-project?rev=133714&view=rev</a><br>Log:<br>133713 broke the build, revert it.<br><br>Removed:<br>    llvm/trunk/lib/Analysis/FEnv.h<br>Modified:<br>    llvm/trunk/lib/Analysis/ConstantFolding.cpp<br><br>Modified: llvm/trunk/lib/Analysis/ConstantFolding.cpp<br>URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ConstantFolding.cpp?rev=133714&r1=133713&r2=133714&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ConstantFolding.cpp?rev=133714&r1=133713&r2=133714&view=diff</a><br>==============================================================================<br>--- llvm/trunk/lib/Analysis/ConstantFolding.cpp (original)<br>+++ llvm/trunk/lib/Analysis/ConstantFolding.cpp Thu Jun 23 08:37:38 2011<br>@@ -31,10 +31,9 @@<br> #include "llvm/Support/ErrorHandling.h"<br> #include "llvm/Support/GetElementPtrTypeIterator.h"<br> #include "llvm/Support/MathExtras.h"<br>+#include "llvm/Support/FEnv.h"<br> #include <cerrno><br> #include <cmath><br>-<br>-#include "FEnv.h"<br> using namespace llvm;<br><br> //===----------------------------------------------------------------------===//<br><br>Removed: llvm/trunk/lib/Analysis/FEnv.h<br>URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/FEnv.h?rev=133713&view=auto">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/FEnv.h?rev=133713&view=auto</a><br>==============================================================================<br>--- llvm/trunk/lib/Analysis/FEnv.h (original)<br>+++ llvm/trunk/lib/Analysis/FEnv.h (removed)<br>@@ -1,56 +0,0 @@<br>-//===- FEnv.h - Host floating-point exceptions ------------------*- C++ -*-===//<br>-//<br>-//                     The LLVM Compiler Infrastructure<br>-//<br>-// This file is distributed under the University of Illinois Open Source<br>-// License. See LICENSE.TXT for details.<br>-//<br>-//===----------------------------------------------------------------------===//<br>-//<br>-// This file provides an operating system independent interface to<br>-// floating-point exception interfaces.<br>-//<br>-//===----------------------------------------------------------------------===//<br>-<br>-#ifndef LLVM_SYSTEM_FENV_H<br>-#define LLVM_SYSTEM_FENV_H<br>-<br>-#include "llvm/Config/config.h"<br>-#include <cerrno><br>-#ifdef HAVE_FENV_H<br>-#include <fenv.h><br>-#endif<br>-<br>-// FIXME: Clang's #include handling apparently doesn't work for libstdc++'s<br>-// fenv.h; see PR6907 for details.<br>-#if defined(__clang__) && defined(_GLIBCXX_FENV_H)<br>-#undef HAVE_FENV_H<br>-#endif<br>-<br>-namespace llvm {<br>-namespace sys {<br>-<br>-/// llvm_fenv_clearexcept - Clear the floating-point exception state.<br>-static inline void llvm_fenv_clearexcept() {<br>-#ifdef HAVE_FENV_H<br>-  feclearexcept(FE_ALL_EXCEPT);<br>-#endif<br>-  errno = 0;<br>-}<br>-<br>-/// llvm_fenv_testexcept - Test if a floating-point exception was raised.<br>-static inline bool llvm_fenv_testexcept() {<br>-  int errno_val = errno;<br>-  if (errno_val == ERANGE || errno_val == EDOM)<br>-    return true;<br>-#ifdef HAVE_FENV_H<br>-  if (fetestexcept(FE_ALL_EXCEPT & ~FE_INEXACT))<br>-    return true;<br>-#endif<br>-  return false;<br>-}<br>-<br>-} // End sys namespace<br>-} // End llvm namespace<br>-<br>-#endif<br><br><br>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br></div></blockquote></div><br><div>
Thanks,<br><br>Justin Holewinski
</div>
<br></body></html>