[GRASS-dev] trying to compile GRASS 6.5 on Mavericks

Glynn Clements glynn at gclements.plus.com
Fri Dec 13 03:26:32 PST 2013


Michael Barton wrote:

> GRASS 6.5 does not compile. Configure is OK, using the same string
> as I just used for GRASS 7. But all modules generate an error during
> compilation. Here is an example.

> error.c:281:6: error: non-void function 'print_error' should return a value [-Wreturn-type]
>             return;

Change it to "return 0;". The return value is ignored in any case (in
GRASS 7, print_error() returns void).

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list