This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error: stray '\' in program


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]