[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] add necessary includes to autogenerated files
From: |
Richard Guenther |
Subject: |
[PATCH] add necessary includes to autogenerated files |
Date: |
Thu, 23 Jan 2003 20:50:23 +0100 (CET) |
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 <address@hidden>
* 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 address@hidden 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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] add necessary includes to autogenerated files,
Richard Guenther <=