FreeBSD Fortran Failure

Mark Mitchell mark@codesourcery.com
Tue May 15 11:48:00 GMT 2001


>>>>> "Toon" == Toon Moene <moene@knmi.nl> writes:

    Toon> No amount of theorizing would have unearthed this, uhhh,
    Toon> curiosity of FreeBSD ....

True.  I am sorry to have lead everyone down the garden path.

I'm not sure if Loren's patch is correct, or not.  An alternative
would be to have fixincludes munge the header.  Another would be to
autoconf for an ftruncate prototype, and create one if it's not there.

But, I think the simplest thing would just be to explicitly cast the
second parameter to an off_t.  Loren, would you try that, if it makes
sense to you?

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc-bugs mailing list