g77 and cpp. Single quote in comment line.

Kate Hedstrom kate@ahab.rutgers.edu
Sat Sep 19 06:06:00 GMT 1998


> >I've had a long term problem with code that uses cpp with g77 
> >and has single quotes in comment lines.
> 
> In the long run, it'd be great to offer a Fortran-specific preprocessor
> with g77.  There are apparently some Fortran preprocessors available
> on the 'net, but I haven't investigated these.

Meanwhile, "cpp -traditional" should do the job.  This is how cpp gets
called if you ask g77 to do it for you (g77 foo.F).

Kate



More information about the Gcc mailing list