Strict fortran77 compiler? (or gfortran compiler flag)
问题 Is there any way to get gfortran to reject the f95 additions to Fortran 77? If not, is there another f77-only compiler available for unix systems? I've tried using the -std=legacy flag but that only seems to remove depreciation warnings from f77 programs; the f95 enhancements still work fine. 回答1: You can set fixed format with gfortran -ffixed-form -ffixed-line-length-none [sourcefiles] And this can actually make a difference (I have a program here where this changes the output!). I’m pretty