[GRASS-dev] Inline functions in GRASS
Brad Douglas
rez at touchofmadness.com
Thu Aug 3 04:49:45 EDT 2006
On Thu, 2006-08-03 at 11:19 +0300, Māris Nartišs wrote:
> According to debugging.txt, GRASS should compile with
> CFLAGS='-g -ansi -Wall -D_BSD_SOURCE=1 -D_SVID_SOURCE=1 -D_POSIX_SOURCE=1 -D_POSIX_C_SOURCE=199506L'
> But r.carve would fail to compile because it uses inline functions introduced
> in C99 (ISO/IEC 9899:1999).
>
> So - who's wrong - debugging.txt or r.carve?
I'm wrong. I made them inline because they are only called once. I was
using functions to compartmentalize code for readability, etc.
Changes committed.
--
Brad Douglas <rez touchofmadness com> KB8UYR
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785
More information about the grass-dev
mailing list