[llvm-commits] [test-suite] r53814 - in /test-suite/trunk/SingleSource/Benchmarks/Misc-C++: ray.cpp sphereflake.cpp

Nick Lewycky nicholas at mxc.ca
Sun Jul 20 19:56:46 PDT 2008


Author: nicholas
Date: Sun Jul 20 21:56:46 2008
New Revision: 53814

URL: http://llvm.org/viewvc/llvm-project?rev=53814&view=rev
Log:
More atoi requiring cstdlib

Modified:
    test-suite/trunk/SingleSource/Benchmarks/Misc-C++/ray.cpp
    test-suite/trunk/SingleSource/Benchmarks/Misc-C++/sphereflake.cpp

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc-C++/ray.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc-C%2B%2B/ray.cpp?rev=53814&r1=53813&r2=53814&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc-C++/ray.cpp (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc-C++/ray.cpp Sun Jul 20 21:56:46 2008
@@ -1,3 +1,4 @@
+#include <cstdlib>
 #include <list>
 #include <iostream>
 #include <limits>

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc-C++/sphereflake.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc-C%2B%2B/sphereflake.cpp?rev=53814&r1=53813&r2=53814&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc-C++/sphereflake.cpp (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc-C++/sphereflake.cpp Sun Jul 20 21:56:46 2008
@@ -1,6 +1,7 @@
 // sphere flake bvh raytracer (c) 2005, thierry berger-perrin <tbptbp at gmail.com>
 // this code is released under the GNU Public License.
 #include <cmath>       // see http://ompf.org/ray/sphereflake/
+#include <cstdlib>
 #include <iostream>    // compile with ie g++ -O2 -ffast-math sphereflake.cc
 #define GIMME_SHADOWS  // usage: ./sphereflake [lvl=6] >pix.ppm
 





More information about the llvm-commits mailing list