This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How does one identify HP-UX with broken inline math funs?
Robert Lipe wrote:
> Bruce, if you'll do/revert the fixinc magic that lets this get deleted
> once again, I'll commit the change to libstdc++/libio to turn it on
> again in cmath.
What about the egcs/libio directory?
Also, it needs to be a simultaneous change.
Please delete the bypass line from `hpux8_bogus_inlines'
in inclhack.def (and don't forget to regenerate fixincl.x):
/*
* get rid of bogus inline definitions in HP-UX 8.0
*/
fix = {
hackname = hpux8_bogus_inlines;
files = math.h;
select = inline;
bypass = 'The Santa Cruz Operation';
sed = "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@";
sed = "s@inline double abs(double [a-z][a-z]*) {.*}@@";
sed = "s@inline int sqr(int [a-z][a-z]*) {.*}@@";
sed = "s@inline double sqr(double [a-z][a-z]*) {.*}@@";
};