This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: aix4.3 math.h header broken for cabs
- To: bkoz at cygnus dot com
- Subject: Re: aix4.3 math.h header broken for cabs
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Mon, 1 May 2000 14:58:08 -0400 (EDT)
- Cc: autogen at linuxbox dot com, gcc-bugs at gcc dot gnu dot org
> From: Benjamin Kosnik <bkoz@cygnus.com>
>
> > > Here's an attempt to fix it, by patching gcc/fixinc/inclhack.def. I'd
> > > rather just remove the entire declaration though (how do i do this)...
>
> I believe outright removal to be the best option. I just don't know how
> to do it.
>
> > What happens if either fixincl or fixproto diddles the non-prototyped
> > version to use __complex__ and a user gets that prototype but calls
> > the libc function which takes struct dbl_hypot? We can't assume the
> > layout of __complex__ is the same as struct dbl_hypot can we?
>
> (Which is why removing it would be better.)
Okay, so why don't you do that?
I.e. can't you simply change the sed expression to delete the cabs
entry instead of replacing it?
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions