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 <gl...@gclements.plus.com>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to