PATCH COMMITTED: Define class constants in sparc.cc

David Miller davem@davemloft.net
Tue Apr 15 22:38:00 GMT 2008


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



More information about the Binutils mailing list