AW: parse error before `{', stray '\' in program

Graf Alex alex.graf at siemens.com
Thu Apr 10 21:15:26 EST 2003


I would use Unix file formats if i can!
The problem is: We have developers on Windows. They are working with the
same library as we are. Visual Studio produce this f... <cr><lf> or ^M or
\r\n. And we are generatin code from Rose. This cause the same problems.
Visual Studio has no problems with \n, but if someone save the file with
Visual Studio, the problem occurs. (The same is with Rose)
gcc 3.2 on host has no problem with this <cr><lf>. Is there allready a cross
compiler (ppc_8xx-gcc) with verision 3.2? Or how difficult is it to build a
new compiler?

Cheers

Alex Graf


...
This is usually caused by illegal file formats.

> The troubles are coming from the dos <cr><lf> at line end. With gcc 3.2
> (from host) I don't have this problems.

Use Unix file formats (plain '\n' line termination).
Wolfgang Denk


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list