[GRASS-dev] trying to compile GRASS 6.5 on Mavericks
glynn at gclements.plus.com
Mon Dec 16 14:00:21 PST 2013
Markus Neteler wrote:
> >>>> GRASS 6.5 does not compile.
> >> >> 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).
> > lib/gis/error.c, line 281.
> Do we want this applied in G6.*.svn?
It needs to be done for 6.5 (develbranch_6).
It's not applicable to 7.0 (where print_error doesn't return a value)
or 6.4 (which doesn't have the change which causes the error).
FWIW, the issue is caused by r45647, which backports r45646 from 7.0.
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev