This is the mail archive of the gcc-patches@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: libiberty/strsignal.c decl breaks with old Cygwin tool-chains


On Sep  6, 2000, Jeffrey A Law <law@cygnus.com> wrote:

>> * strsignal.c (strsignal): Remove the `const' from the return
>> value when building with old Cygwin tool-chains.

> Hmmm, where is the bogus prototype for strsignal coming from?

Installed Cygwin headers.

> I doubt it's coming from GCC itself, which makes me thing that
> testing for a particular version of GCC is the wrong thing to do.

True.  Fortunately, DJ already installed a proper fix.

> In fact, it seems to me that we should be checking for the bogon
> using autoconf.

Indeed, that would have been better.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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