OK ofthechart, here goes for the last time!
Can you:
generate a minimum reproducer: filename.f,
a .bat file that demonstrates the different performance which looks like below then
run the .bat to display the different error report formats,
attach the relevant files to help identify the problem.
dir > filename.tce
ftn95 filename.f 'bad options that omit the line numbers' /echo >> filename.tce
ftn95 filename.f 'good options that include the line numbers' /echo >> filename.trace
dir >> filename.tce
Could you also list the .bat, .tce and ftn95.cfg, or preferably include these in a .zip file, together with filename.f and best provide this as a lnk to dropbox or similar.
It would be best to provide filename.f as a link, so we can inspect the .f file for any unexpected characters that may be causing the problem (eg for unix or other non Dos/ansi characters)
I have already suggested a way of eliminating the error, should that be a useful way forward.
It would be good to get an explanation for this behaviour.
John