[GRASS-dev] trying to compile GRASS 6.5 on Mavericks
glynn at gclements.plus.com
Sat Dec 14 06:19:18 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).
> Is this something that needs to be changed in the make file?
No; lib/gis/error.c, line 281.
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev