This change:
RCS file: /grassrepository/grass6/include/version.h.in,v
Working file: include/version.h.in
head: 1.3
branch:
locks: strict
access list:
symbolic names:
grass_6_0_0: 1.2
releasebranch_6_0: 1.2.0.2
grass_6_0_0_beta_2: 1.2
grass_6_0_0_beta_1: 1.2
release_17_06_2004_grass5_7_0: 1.1
keyword substitution: kv
total revisions: 3; selected revisions: 1
description:
----------------------------
revision 1.3
date: 2006/02/21 09:02:07; author: radim; state: Exp; lines: +4 -0
added defines
=============================================================================
breaks version.h by changing GRASS_VERSION_{MAJOR,MINOR,RELEASE} from
strings to integers.
In particular, this causes the display drivers to segfault when trying
to create the socket:
unix_socks.c: In function `_get_make_sock_path':
unix_socks.c:79: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
unix_socks.c:79: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
unix_socks.c: At top level:
Although less critical than the drivers, G_version() will also segfault:
version.c: In function `G_version':
version.c:19: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
version.c:21: warning: format argument is not a pointer (arg 3)
version.c:23: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
version.c:25: warning: format argument is not a pointer (arg 3)
--
Glynn Clements <glynn@gclements.plus.com>