Quoting Per Gregers Bilse <[EMAIL PROTECTED]>
        from ml.softs.gtk-gnutella.devel:
:humble bug report -- gtk-gnutella won't compile, see below.  This is with
:the latest SVN snapshot of 2006-08-19 17:51:06 UTC, but the problem has
:been there since the latest release; gtk-gnutella-0.95.4 compiles fine.
:My system is a dual Opteron linux 2.6.16, and the problem is related
:to architecture; if I specify -m32 to force compilation at 32 bits, the
:problem below goes away, but similar problems (in atoms.c) then occur.
:The problem is present whether or not fast assertions are enabled.

:main.c: In function ‘main’:
:main.c:925: error: duplicate case value
:main.c:925: error: previously used here
:main.c:926: error: duplicate case value
:main.c:926: error: previously used here

The above errors indicate that for your GLib, gsize and size_t are not
identical, which is a problem.

This is probably because you have a 64-bit platform whereby size_t is
a 64-bit quantity and gsize is defined by glib.h as being guint32.

We don't use gsize anywhere in the code, but we do use gssize.  However,
at the places where we use gssize, its being a 32-bit quantity only should
not be a problem.

What happens if you remove the two STATIC_ASSERT lines in main.c?
Does it compile fine then?

Raphael

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to