Hi,

We are currently porting a product that runs
on NT to Linux.
We use CVS as our source control system.

The problem is :
when we get a file on Linux it has \r\n as a 
newline character.
If we have a muilt-line macro like 
 #defined xyz \
    abc \
    pqr

Then the gcc compiler (2.92.2) gives error as :
stray '\' in program

We do not want to write the macro on one-line as 
it is not readable. Also, we do not want to have
single line for Linux and Multi-line for NT.

Our guess is that it is probably due to \r .

How do we get rid of \r on Linux ? (we are
using multi-line macros in many files.)
But, then it should work on NT also.

Pl. reply soon.

Thanks a lot.

Pranita.






__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to