aix4.3 math.h header broken for cabs
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Mon May 1 11:58:00 GMT 2000
> 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
More information about the Gcc-bugs
mailing list