force write in Gfortran

Janne Blomqvist jblomqvi@cc.hut.fi
Fri Mar 24 19:58:00 GMT 2006


On Fri, Mar 24, 2006 at 02:03:48PM -0300, Paulo Ziemer wrote:
> This happens only when several files are linked to forme one
> executable. If the executable is created just from my "test.for"
> everthing goes ok and all the string are correctely written.

?? I don't see how that could happen, but then I've been wrong before
too. Perhaps, there is code in the rest of the program that closes
and/or reopens the unit with different flags?

> gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

Umm, ok. Can you test whether your problem occurs on 4.1 or trunk as
well? 4.0 is old, buggy, and noone is working on improving it anymore
(sorry, we don't have infinite resources).

Or if you don't want to go through the trouble of installing 4.1
(which I heartily recommend if you're serious about using gfortran),
I'll repeat my suggestion to post the code, or even better a
self-contained snippet (keeping in mind copyright etc.), so that
someone else might be able to test it.

HTH,

-- 
Janne Blomqvist
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20060324/87fb15d1/attachment.sig>


More information about the Fortran mailing list