Possible CRLF and -mno-cygwin bugs

Chris Faylor cgf@cygnus.com
Wed Oct 18 13:10:00 GMT 2000


On Wed, Oct 18, 2000 at 12:51:01PM -0700, Earnie Boyd wrote:
>--- Mark Schoenberg <mark@emmestech.com> wrote:
>>      After a rocky start, I have had reasonable success with Cygwin-1.1.4
>> (thanks to Chris Faylor for helping me get started).  I have, however, found
>> two
>> slight problems which I believe, if fixed, would enhance Cygwin.
>> 
>>      The first involves the old issue of carriage returns and line feeds:
>> Many
>> programs having ^Ms as the next-to-last character on a line compile just
>> fine.
>> However, I have noticed two problems.  The first is that in .c and .h files
>> "\^M^J" is not recognized as a continuation symbol as I believe it should be.
>> The second problem is that "#define FIRST Mark^M^J" defines "FIRST" as
>> "Mark^M",
>> whereas I think it should be defined as "Mark".
>> 
>
>Since there are many posts about \r\n and binary mode processing in the
>archives I'll only say that this is a user problem.

I'm not sure it's a user problem.  I'd say that this is really a gcc
problem, not a cygwin problem.  I've heard that this has been fixed in
recent versions of gcc.

For now, the only solution for the gcc that is shipped with cygwin is
"Don't do that."

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list