[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
Reid Spencer
reid at x10sys.com
Wed May 24 12:21:29 PDT 2006
Changes in directory llvm/lib/ExecutionEngine/Interpreter:
ExternalFunctions.cpp updated: 1.85 -> 1.86
---
Log message:
For PR786: http://llvm.cs.uiuc.edu/PR786 :
Minor tweaks in public headers and a few .cpp files so that LLVM can build
successfully with -pedantic and projects using LLVM with -pedantic don't
get warnings from LLVM. There's still more -pedantic warnings to fix.
---
Diffs of the changes: (+1 -1)
ExternalFunctions.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.85 llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.86
--- llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.85 Thu Apr 21 23:06:38 2005
+++ llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp Wed May 24 14:21:12 2006
@@ -313,7 +313,7 @@
if (HowLong >= 1) {
if (HowLong == 1 &&
TheInterpreter->getModule().getPointerSize()==Module::Pointer64 &&
- sizeof(long) < sizeof(long long)) {
+ sizeof(long) < sizeof(int64_t)) {
// Make sure we use %lld with a 64 bit argument because we might be
// compiling LLI on a 32 bit compiler.
unsigned Size = strlen(FmtBuf);
More information about the llvm-commits
mailing list