RE: gFortran problem compiling complex character strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dominique> > Colin, your line is too long for the fixed form implied by 
dominique> the .f suffix:

colin> Argh! Yes, of course. It must be that g77 didn't have that 
colin> limit since the
colin> program used to build ok with that.

Now I am curious why that would be, I was under the impression that (in
absence of any flags) the 72 char  was the default in g77? 
Did you have a Makefile or other build system that had some additional
flags when using g77?  
(I am in the positon of helping Fortran users get their programs working
without actually being a Fortran user so little bits of info like this
are useful!)


 man g77 says:
       -ffixed-line-length-n
           Set column after which characters are ignored in typical
fixed-form lines in the source file, and through which spaces are
           assumed (as if padded to that length) after the ends of short
fixed-form lines.
           Popular values for n include 72 (the standard and the
default), 80 (card image), and 132 ...
 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux