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]

Re: i686-pc-cygwin32 build of 19980628


   From: Dave Love <d.love@dl.ac.uk>
   Date: 02 Jul 1998 18:03:02 +0100

   It fell over building libgcc2 because of conflicting prototypes for
   __eprintf.  Its third arg is unsigned int in stdlib.h, but just int in
   libgcc2.c.  Am I missing some cygwin patch for this, perhaps?

Oddly, the prototype in stdlib.h was just copied from assert.h.  In
gcc/assert.h, __eprintf is declared to take a third argument of type
`unsigned', but in gcc/libgcc2.c, the third argument is of type `int'.
One of those should change to match the other.

I don't know why cygwin has an __eprintf prototype in stdlb.h.

Ian


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