[PATCH] add necessary includes to autogenerated files
Richard Guenther
rguenth at tat.physik.uni-tuebingen.de
Thu Jan 23 19:50:23 UTC 2003
The following dubious patch adds includes of required standard headers to
PETE autogenerated files. This is necessary to allow compiling the lib
with -ansi.
Better ideas? (to protect all includers requires touching about 10 files)
Ok?
Richard.
2003Jan23 Richard Guenther <richard.guenther at uni-tuebingen.de>
* src/Pooma/PoomaOperatorTags.h: include <cstdlib> and <cmath>.
src/PETE/OperatorTags.h: include <cmath>.
# This is a BitKeeper generated patch for the following project:
# Project Name: pooma/cheetah repository tracking CVS/tarball
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.23 -> 1.24
# r2/src/Pooma/PoomaOperatorTags.h 1.1 -> 1.2
# r2/src/PETE/OperatorTags.h 1.1 -> 1.2
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/01/23 rguenth at bellatrix.tat.physik.uni-tuebingen.de 1.24
# temporary fixes to autogenerated(!) files
# --------------------------------------------
#
diff -Nru a/r2/src/PETE/OperatorTags.h b/r2/src/PETE/OperatorTags.h
--- a/r2/src/PETE/OperatorTags.h Thu Jan 23 20:47:39 2003
+++ b/r2/src/PETE/OperatorTags.h Thu Jan 23 20:47:39 2003
@@ -41,6 +41,7 @@
//
///////////////////////////////////////////////////////////////////////////////
+#include <cmath>
struct FnArcCos
{
diff -Nru a/r2/src/Pooma/PoomaOperatorTags.h b/r2/src/Pooma/PoomaOperatorTags.h
--- a/r2/src/Pooma/PoomaOperatorTags.h Thu Jan 23 20:47:39 2003
+++ b/r2/src/Pooma/PoomaOperatorTags.h Thu Jan 23 20:47:39 2003
@@ -13,6 +13,8 @@
//
///////////////////////////////////////////////////////////////////////////////
+#include <cstdlib>
+#include <cmath>
#if defined(POOMA_POOMA_POOMAOPERATORTAGS_H)
template<int D, class T, class EngineTag> class Tensor;
More information about the pooma-dev
mailing list