From 6f47cbbe03af8f6bd5ad2c02827f076392fd98ec Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 27 Oct 1998 21:34:19 +0000 Subject: [PATCH] avoid problems with early g++ --- src/cas/generic/casMonEventIL.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/cas/generic/casMonEventIL.h b/src/cas/generic/casMonEventIL.h index 64aa2e6d7..de69baca5 100644 --- a/src/cas/generic/casMonEventIL.h +++ b/src/cas/generic/casMonEventIL.h @@ -29,6 +29,9 @@ * * History * $Log$ + * Revision 1.5 1998/10/23 00:28:20 jhill + * fixed HP-UX warnings + * * Revision 1.4 1998/06/16 02:27:53 jhill * use smart gdd ptr * @@ -73,7 +76,10 @@ inline casMonEvent::casMonEvent (const casMonEvent &initValue) : // inline void casMonEvent::operator = (const class casMonEvent &monEventIn) { - this->pValue = monEventIn.pValue; + // + // this cast is a workaround for defects in early versions of GNU g++ + // + this->pValue = (gdd *) monEventIn.pValue; this->id = monEventIn.id; }