This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH COMMITTED: Define class constants in sparc.cc
- From: David Miller <davem at davemloft dot net>
- To: iant at google dot com
- Cc: binutils at sourceware dot org
- Date: Tue, 15 Apr 2008 15:38:31 -0700 (PDT)
- Subject: Re: PATCH COMMITTED: Define class constants in sparc.cc
- References: <m3r6d64wwj.fsf@google.com>
From: Ian Lance Taylor <iant@google.com>
Date: Tue, 15 Apr 2008 14:43:08 -0700
> C++ technically requires a definition for a static const class member
> even if the member is initialized in the class itself. It turns out
> that the g++ 4.1.2 on FC7 needs that definition when compiling
> sparc.cc with -O0.
>
> I committed this patch to add the required definitions.
Thanks Ian. It probably would have taken me a whole day to figure
that out had I stumbled upon it. :-)