This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: C++ static member function reported as undefined references by linker?
- From: corey taylor <corey dot taylor at gmail dot com>
- To: David Cespedes <David dot Cespedes at i-o dot com>, gcc-help at gnu dot org
- Date: Fri, 28 Oct 2005 10:38:26 -0500
- Subject: Re: C++ static member function reported as undefined references by linker?
- References: <764B61E47816BC47B59D1A8B15DF01070C0492@digiexch02.iodigi.ioroot.tld>
Hi David,
I believe that I mispoke about part of it and the named class should
give external linkage to its members.
Just a little too busy my apologies!
Corey
On 10/27/05, David Cespedes <David.Cespedes@i-o.com> wrote:
> I do not have the SPEC with me will have to check around! But you read
> it in;
>
> ARM (Annotated Reference Manual), Sec 9.4:
> "Static members of a global class have external linkage."
>
> Regards,
> Daveed