Hi,

Using latest CVS, I have spotted an invalid end-of-comment token at
src/share.c:2272 that chokes my compiler :

$ gcc -c -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
$ -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
$ -I/usr/include/freetype2 -I/usr/include/glib-2.0
$ -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2   -g3 -O0 -Wall
$ share.c
share.c: In function `search_request':
share.c:2272: parse error before '/' token

Toolkit is GTK2. This problem has been present in my four latest cvs
updates, so maybe I'm the only one to experience it...

`gcc --version` returns :
gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)

Attached patch fixes it for me. I know about the current code freeze but
IMHO this is a syntax error and you may want to have it fixed before
release :)

Cheers,

 
ko [junkpile at free dot fr on this platform]

Index: src/share.c
===================================================================
RCS file: /cvsroot/gtk-gnutella/gtk-gnutella-current/src/share.c,v
retrieving revision 1.130
diff -u -r1.130 share.c
--- src/share.c 4 Jan 2004 23:24:48 -0000       1.130
+++ src/share.c 14 Jan 2004 20:36:27 -0000
@@ -2268,7 +2268,7 @@
                /*
                 * Here we suppose that the peer has the same NFKD/NFC keyword algo
                 * than us, see unicode_canonize() in utf8.c.
-                * (It must anyway, for compatibility with the QRP) */
+                * (It must anyway, for compatibility with the QRP)
                 */
 #else
                if (is_utf8) {

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to