After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 340277 - gnome-vfs build warnings
gnome-vfs build warnings
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Build
cvs (head)
Other opensolaris
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
: 342204 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-05-01 11:46 UTC by James Andrewartha
Modified: 2006-07-13 19:09 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description James Andrewartha 2006-05-01 11:46:15 UTC
I'm jhbuilding gnome-vfs from CVS HEAD, and it stops on the following warnings because of -Werror:

gnome-vfs-volume-ops.c: In function `spawn_mount':
gnome-vfs-volume-ops.c:429: warning: passing arg 1 of `gnome_vfs_pty_open' from incompatible pointer type
gnome-vfs-volume-ops.c:518: warning: implicit declaration of function `kill'
gnome-vfs-volume-ops.c:518: warning: nested extern declaration of `kill'

The first can be fixed with a (pid_t *) cast in the first argument of the function call on line 426, as it's a GPid *, not a pid_t * as the definition states. The second can be fixed by #include <signal.h> at the top.

Further on there's:
xdgmimemagic.c: In function `_xdg_mime_magic_parse_magic_line':
xdgmimemagic.c:475: warning: unused variable `i'

which occurs because SPARC is big endian and the code that uses i is wrapped by #if LITTLE_ENDIAN.

Full build log at http://jhbuild.bxlug.be/builds/2006-05-01-0003/logs/gnome-vfs/#build (may appear blank towards the bottom in gecko-based browsers, just view source).
Comment 1 Christian Neumair 2006-07-13 19:02:22 UTC
Fixed, thanks.
Comment 2 Christian Neumair 2006-07-13 19:09:50 UTC
*** Bug 342204 has been marked as a duplicate of this bug. ***