Index: [thread] [date] [subject] [author]
  From: Christoph Egger <Christoph_Egger@t-online.de>
  To  : GGI-Mailing-Liste <ggi-develop@eskimo.com>
  Date: Fri, 25 Jun 1999 22:09:04 +0200 (MEST)

libgii - patch to fix compiler error

Hi all!

I've just downloaded the ggi develop 990625 snapshot.
When I tried to compile libgii, I got this error:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -g 
-O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -Wp,-MD,.deps/packetparse.pp -c
-fPIC -DPIC packetparse.c -o packetparse.lo
packetparse.c:133: warning: `/*' within comment
packetparse.c: In function `parse_ms':
packetparse.c:134: parse error before `else'
packetparse.c:119: warning: `buttons' might be used uninitialized in this
function
make[3]: *** [packetparse.lo] Error 1
make[3]: Leaving directory `/home/programmer/ggi/degas/lib/libgii/input/mouse'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/programmer/ggi/degas/lib/libgii/input'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/programmer/ggi/degas/lib/libgii'
make: *** [all-recursive-am] Error 2


In the attachment is a patch which fixes that.


Christoph Egger
E-Mail: Christoph_Egger@t-online.de

packparse.diff

Index: [thread] [date] [subject] [author]