[llvm-commits] [llvm] r129291 - /llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp
Garrison Venn
gvenn.cfe.dev at gmail.com
Mon Apr 11 12:52:49 PDT 2011
Author: gvenn
Date: Mon Apr 11 14:52:49 2011
New Revision: 129291
URL: http://llvm.org/viewvc/llvm-project?rev=129291&view=rev
Log:
Because some systems have reported that this example would not build the
header file cstdio was added as an include.
Modified:
llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp
Modified: llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp?rev=129291&r1=129290&r2=129291&view=diff
==============================================================================
--- llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp (original)
+++ llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp Mon Apr 11 14:52:49 2011
@@ -62,6 +62,11 @@
#include "llvm/Support/IRBuilder.h"
#include "llvm/Support/Dwarf.h"
+// Note: Some systems seem to have a problem finding
+// the symbols like stderr, and fprintf when this
+// header file is not included
+#include <cstdio>
+
#include <sstream>
#include <stdexcept>
More information about the llvm-commits
mailing list