f77 compile treats "\" as special.

Craig Burley burley@gnu.org
Wed Sep 9 03:45:00 GMT 1998


>Code which compiles on AIX, Solaris,Cray, NT, etc fails with Redhat 5.1
>egcs-g77. Problem is that '\' is treated as the escape character and not
>as a normal character.
>
>e.g. the statement:
>
>      DATA ITAB/2H\1/
>
>does not compile.

This is done for compatibility with most UNIX `f77' commands.  Please
read the g77 documentation on `-fno-backslash' and related topics.

        tq vm, (burley)



More information about the Gcc-bugs mailing list