This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.1 won't bootstrap on HP-UX without lots of money (i.e. ANSI C compiler)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]