This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.1 won't bootstrap on HP-UX without lots of money (i.e. ANSI C compiler)
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: Duraid Madina <duraid at fl dot net dot au>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 21 May 2002 07:38:48 +0100
- Subject: Re: 3.1 won't bootstrap on HP-UX without lots of money (i.e. ANSI C compiler)
- References: <000101c2008e$5a5681d0$0116160a@simplex>
Duraid Madina wrote:-
> Life sucks when ANSI C is an optional extra. :(
>
> Here's a bandaid, though:
>
> *** tradcpp.c Tue May 21 16:05:17 2002
> --- tradcpp.c~ Sat May 4 03:51:03 2002
> ***************
> *** 2595,2602 ****
> /* Replace all CR NL, NL CR and CR sequences with NL. */
>
> static void
> ! fixup_newlines (fp)
> ! FILE_BUF *fp;
> {
> U_CHAR *p, *q, *end;
>
> --- 2595,2601 ----
> /* Replace all CR NL, NL CR and CR sequences with NL. */
>
> static void
> ! fixup_newlines (FILE_BUF *fp)
> {
> U_CHAR *p, *q, *end;
Thanks, although your patch is confusing because it's back-to-front.
Neil.