[m-rev.] diff: fix bug with carriage-return and gcc >= 2.96
Simon Taylor
stayl at cs.mu.OZ.AU
Tue Aug 6 11:09:40 AEST 2002
On 06-Aug-2002, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> Estimated hours taken: 2
> Branches: main
>
> Fix a bug where we were generating C code that contained special
> characters in string literals. This generated code was relying on
> the implementation-specific behaviour of GCC, and unfortunately
> that behaviour changed in GCC versions 2.96 and later.
> The symptom was that printing "\r\n" came out as "\n\n"
> when using GCC versions >= 2.96.
This looks OK.
Simon.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list