This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: [cygwin] Can't boostrap current gcc trunk with libjava: ../../../gcc/libjava/classpath/native/fdlibm/mprec.h:297:1: error: "_EXFUN" redefined
On 18 April 2007 11:41, Christian Joensson wrote:
> 16 Apr 2007 16:50:03 -0600, Tom Tromey <tromey@redhat.com>:
>>>>>>> "Dave" == Dave Korn <dave.korn@artimi.com> writes:
>>
>> Dave> The definition of _EXFUN in mprec.h is unconditionally:
>> Dave> #define _EXFUN(name, proto) name proto
>>
>> libjava, and subsequently Classpath, imported an old version of this
>> code, which was then hacked over randomly.
>>
>> Dave> How about we whip up a patch to just turn all the _EXFUN
>> Dave> definitions into real honest-to-goodness ansi prototypes? Is it
>> Dave> actually serving any real purpose?
>>
>> I think just the hypothetical scenario of making it simpler to import
>> a newer version of fdlibm and/or mprec. I think we may have imported
>> a new mprec at one point, but I don't recall us ever importing a newer
>> fdlibm.
>>
>> Tom
>>
>
> ehrm, well... I have to ask. Have you convereged at something yet?
Well, Tom is the java/libgcj maintainer. Tom, are you interested in fixing
this in the immediate timescale by doing an import, or shall I whip up a patch
as proposed above just to get bootstrap fixed until you're ready to do the
import in some more long-term timescale?
cheers,
DaveK
--
Can't think of a witty .sigline today....