g++ and gfortran, why no i/o?
17:02 06 Jul 2026

I'm working with an old code that's in c, c++ and fortran. It was working with a previous compiler version but now I get no i/o. When run from the console only printf works. When run under gdb screen and file i/o work with fortran, but fprintf doesn't work. What would cause this different i/o behavior under gdb?

c++ g++ mingw gfortran