🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1323

fixed bug with templates

#1323
From: Tom Zougas
Date: Tue, 05 Jan 1993 07:16
15 lines
1127 bytes
version: gcc-2.3.3
system:  SPARC SunOS4.1.1

In an earlier posting, I had asked if static variables in class templates
should be initializeable at the global scope level.  I found I could only
get them initialized within a function call. This problem has been fixed.
By using 'gnu-ld' as the loader, static variables in template classes are
now properly initialized. 'ld' that comes with my system (SPARC SunOS4.1.1)
did not do it properly.

-- 
===========================================================================
Tom Zougas					      zougas@me.utoronto.ca
Engineering Mechanics and Design Laboratory		       416-978-1281
Dept of Mechanical Engineering, University of Toronto,      Toronto, CANADA
Technical Details
Message-ID: <C0DDIv.9Hu@me.utoronto.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!me.utoronto.ca!zougas

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!me.utoronto.ca!zougas
From: zougas@me.utoronto.ca (Tom Zougas)
Subject: fixed bug with templates
Message-ID: <C0DDIv.9Hu@me.utoronto.ca>
Sender: gnulists@ai.mit.edu
Organization: UofT Mechanical Engineering
Distribution: gnu
Date: Tue, 5 Jan 1993 07:16:06 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 16