This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: error: stray '\' in program
> Neil Booth <neil@daikokuya.co.uk> writes:
> >Philipp Thomas wrote:-
> >
> >> * Gabriele Caracausi (gabriele@caracausi.it) [20030824 13:56]:
> >>
> >> > I'm trying to recompile under linux GCC 3.3 sources but an error
occurs:
> >> >
> >> > regclass.c:78: stray '\' in program
> >> >
> >> > but the line in regclass.c is:
> >> > static const char initial_fixed_regs[] = FIXED_REGISTERS;
> >>
> >> Please see http://gcc.gnu.org/bugs.html on how to report bugs.
> >
> >I doubt it's a bug - I imagine it comes from FIXED_REGISTERS.
>
> Possibly \ at "end" of a CRLF terminated line is not seen as
line-continued?
We've observed this problem with dos formatted files. The preprocessor
seems to choke on them. Probably a good idea to open text files as O_TEXT.
cheers,
Kris