RE: AW: parse error before `{', stray '\' in program
From: Claus Gindhart <hidden>
Date: 2003-04-10 12:31:59
Yet another proposal: Install a CVS-Server somewhere on a Linux machine. When You check out Your sources to Windows, You have \r\n When You check out Your sources to Linux, You have \n So You can edit on every platform with the native end-of-line format. And, anyway, it gives you a lot of advantages in concurrent programming. I am not a fan of the dos2unix, and unix2dos tools. dos2unix is o.k., but unix2dos can also create files with \r\r\n line feeds, if you use it unintentionally twice on the same file. If you dont want CVS, i wuld recommend UltraEdit for editing and DOS/UNIX and vice versa conversion.
-----Original Message----- From: Omanakuttan [mailto:omanakuttan@tataelxsi.co.in] Sent: Donnerstag, 10. April 2003 14:23 To: Graf Alex Cc: 'linuxppc-embedded@lists.linuxppc.org' Subject: Re: AW: parse error before `{', stray '\' in programquoted
I would use Unix file formats if i can! The problem is: We have developers on Windows. They areworking with thequoted
same library as we are. Visual Studio produce this f...<cr><lf> or ^M orquoted
\r\n. And we are generatin code from Rose. This cause thesame problems.quoted
Visual Studio has no problems with \n, but if someone savethe file withquoted
Visual Studio, the problem occurs. (The same is with Rose) gcc 3.2 on host has no problem with this <cr><lf>. Is thereallready a crossquoted
compiler (ppc_8xx-gcc) with verision 3.2? Or how difficultis it to build aquoted
new compiler?Why don't you use dos2unix command ?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/