From 0510367b7047b462dcc1d9cecb386b3543b98225 Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 6 Jul 2005 22:41:34 +0000 Subject: [PATCH] Fix compile errors with g++-4. --- netlist.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/netlist.h b/netlist.h index d65381fe4..489b651ea 100644 --- a/netlist.h +++ b/netlist.h @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: netlist.h,v 1.321 2004/10/04 01:10:54 steve Exp $" +#ident "$Id: netlist.h,v 1.321.2.1 2005/07/06 22:41:34 steve Exp $" #endif /* @@ -753,7 +753,7 @@ class NetMemory { long idxl_; friend class NetRamDq; - NetRamDq* ram_list_; + class NetRamDq* ram_list_; friend class NetScope; NetMemory*snext_, *sprev_; @@ -1845,12 +1845,12 @@ class NetEvent : public LineInfo { NetEvProbe*probes_; // Use these methods to list the triggers attached to me. - NetEvTrig* trig_; + class NetEvTrig* trig_; // Use This member to count references by NetEvWait objects. unsigned waitref_; struct wcell_ { - NetEvWait*obj; + class NetEvWait*obj; struct wcell_*next; }; struct wcell_ *wlist_; @@ -3357,6 +3357,9 @@ extern ostream& operator << (ostream&, NetNet::Type); /* * $Log: netlist.h,v $ + * Revision 1.321.2.1 2005/07/06 22:41:34 steve + * Fix compile errors with g++-4. + * * Revision 1.321 2004/10/04 01:10:54 steve * Clean up spurious trailing white space. *