This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH COMMITTED: Define class constants in sparc.cc


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. :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]