Re: [AD] fixed routines

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


> Could a compiler warning be generated when people use allegro's fcos,
> fsin etc functions in the old form? Something like
> 'The use of fcos is deprecated, please use fixcos instead'.

Does anyone know how to do that with GGC ?

There is the __attribute__((deprecated)) solution, but it seems to be supported only by
GCC 3.x (even GCC 2.96 doesn't seem to understand it).

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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