🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: uninitialized static members

#811
From: Thomas M. Breuel
Date: Mon, 17 Aug 1992 12:07
13 lines
894 bytes
I wrote:
 > I'm having a problem with uninitialized static class members in GCC
 > C++ 2.2.2.
 > 
 > Basically, if I only define the static class member inside the class
 > (without explicitly initializing it), I get a link-time undefined
 > symbol error.
 > 
 > I was under the impression that I didn't have to provide any
 > definition (in addition to what is present in the header) for
 > uninitialized static class members.

Never mind; the ARM explicitly states that this doesn't work.
Technical Details
Message-ID: <9208170807.AA07995@idiap.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!idiap.CH!tmb

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!idiap.CH!tmb
From: tmb@idiap.CH (Thomas M. Breuel)
Subject: Re: uninitialized static members
Message-ID: <9208170807.AA07995@idiap.ch>
Sender: gnulists@ai.mit.edu
Reply-To: tmb@idiap.ch
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 17 Aug 1992 12:07:25 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 14