When linking both C and Fortran code under Windows, using gcc 4.6.1, EOL style
in both stdout and stderr becomes that of Unix. Probably this is due to
automatic change of write mode for this streams to binary by gfortran (even
when Fortran code has nothing to do with i/o at all). The same may happen to
stdin, but this is hard to test.
This is not a big problem, but is unpleasant when doing diffs of produced
stdout. I have submitted a bug to mingw32 forum
http://sourceforge.net/tracker/?func=detail&atid=102435&aid=3440369&group_id=243
5 , but it is not clear if this bug is even accepted by the developers.
Meanwhile, some workarounds need to be implemented.
Original issue reported on code.google.com by yurkin on 22 Nov 2011 at 5:21
Original issue reported on code.google.com by
yurkin
on 22 Nov 2011 at 5:21