error: stray '\' in program

Zack Weinberg zack@codesourcery.com
Mon Jan 26 17:02:00 GMT 2004


Fred Heitkamp <heitkamp@ameritech.net> writes:

> When compiling euler-1.60.6.tar.gz.
> I've seen this while compiling several other programs as well.

The relevant lines of the provided metaps.i are

static char setclipmacro[]= "/setclip {\ngsave"

        /y2 exch def\n /x2 exch def\n /y1 exch def\n /x1 exch def\n newpath x1 y1 moveto x2 y1 lineto x2 y2 lineto x1 y2 lineto closepath clip\n} def\n";"

I don't know what happened here but this cannot ever have been
syntactically valid C.

zw



More information about the Gcc-bugs mailing list