Re: [AD] fixed clashes

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]



On Tue, 6 Nov 2001, Peter Wang wrote:

> On 05 Nov 2001, Stepan Roh <stepan@xxxxxxxxxx> wrote:
> > > > >- fixsqrt -> fsqrt, it was not compiling in C++ mode
>
> When SET updated that file he wrote fixsqrt, but it's back to fsqrt
> now.
>
> > Code below is from include/allegro/alucfg.h. It was done by Michael Bukin
> > and later extended by me with ALLEGRO_INCLUDE_MATH_H kludge also done by
> > me. It was invented because of SGI IRIX.
> [snip]
>
> AIUI, this is not enough for gcc 3.1.

Why? Has it some built-in function called fsqrt()? It's not in glibc-2.2.3
I have.

> I suggested changing the fixed math routines to fix<foo>, then using
> macros for backwards compatibility (disableable).  I think this needs
> to be fixed before the next WIP, or at least before 4.0.  After that
> we would be breaking the ABI.

Sounds reasonable.

Stepan Roh



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/