Unrecognized token '&' in Fixed Fortran continuation lines

前端 未结 2 1511
生来不讨喜
生来不讨喜 2020-12-12 01:50

I am editing an old project that uses fixed form Fortran and compiling with IVF compiler. The current issue I have is with continu

2条回答
  •  南笙
    南笙 (楼主)
    2020-12-12 02:01

    Or use the compiler switch -free with .for or .f

    Or use the compiler switch -fixed -132 with a .F90 .

    In your case I would preserve the .f and cp that to .F90 and then explicitly have the makefile compile the .F90 ...

    I normally use -fixed -132 with a .F90 as I often have -d-lines that I retain in the code, and I could not get -d-lines. To work with -free.

提交回复
热议问题