[GRASS-dev] use G_find_raster2() instead of G_find_raster()
Glynn Clements
glynn at gclements.plus.com
Sun Nov 3 17:35:20 PST 2013
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 <glynn at gclements.plus.com>
More information about the grass-dev
mailing list