Re: [AD] for_each_entry API function

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


> As an aside, have you seen the `deprecated' attribute in GCC? I've only
> just noticed it (I have gcc 3.2.1), and I'm sure it wasn't in 2.9.5.3,
> so if we used it we'd have to test for it. Basically, after the
> declaration (not definition) of a type, variable or function, you add
> __attribute__((deprecated)), and gcc warns you that said symbol is
> going to be removed whenever it encounters an actual use.

Sounds like a good idea to me.

-- 
Eric Botcazou




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