Error: Invalid character in name at (1)

后端 未结 4 1617
清酒与你
清酒与你 2021-01-20 22:50

I am trying to compile a fortran file along with some .h files in FORTRAN. The .h files contain definition for common blocks of variable. When I compile them in Fortran, I get t

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-20 23:36

    I had this problem when modifying scipy and trying to compile it. The following identation was necessary to make it work, with the star * at column 5. It works for both Fortran 77 and 90 styles.

          double precision a,abseps,abserr,alist,area,area1,area12,area2,
         * a1,a2,b,blist,b1,b2,correc,dabs,defabs,defab1,defab2,d1mach,
         * dmax1,dres,elist,epmach,epsabs,epsrel,erlarg,erlast,errbnd,
         * errmax,error1,error2,erro12,errsum,ertest,f,oflow,resabs,
         * reseps,result,res3la,rlist,rlist2,small,uflow,areav
    

提交回复
热议问题