Vaclav Petras wrote:

> Is there a (cross-compiler) way we can use GCC depreciated attribute to
> trigger compiler warring in these cases?
> 
> __attribute__ ((deprecated))
> __attribute__((deprecated("use new_function instead"))

That's fine. gis.h defines the __attribute__ macro (as a no-op) if gcc
isn't being used.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to