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 521647 - Glib SVN: warning: C99 inline functions are not supported; using GNU89
Glib SVN: warning: C99 inline functions are not supported; using GNU89
Status: RESOLVED DUPLICATE of bug 522292
Product: glib
Classification: Platform
Component: general
2.16.x
Other Linux
: Normal blocker
: ---
Assigned To: gtkdev
gtkdev
: 520585 522099 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-10 19:00 UTC by Olav Vitters
Modified: 2008-03-17 14:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Olav Vitters 2008-03-10 19:00:12 UTC
Making all in libgnomevfs
 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -pthread -DORBIT2=1 -I/opt/jhbuild/include/glib-2.0 -I/opt/jhbuild/lib64/glib-2.0/include -I/opt/jhbuild/include/gconf/2 -I/opt/jhbuild/include/orbit-2.0 -I/opt/jhbuild/include/libxml2 -I/opt/jhbuild/include/dbus-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -D_REENTRANT -I/opt/jhbuild/include -I/opt/jhbuild/include/glib-2.0 -I/opt/jhbuild/lib64/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/opt/jhbuild/include/glib-2.0 -I/opt/jhbuild/lib64/glib-2.0/include -I/opt/jhbuild/include/dbus-1.0 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Wall -Werror -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-strict-aliasing -Wno-sign-compare -DXDG_PREFIX=_gnome_vfs_xdg -DDBUS_API_SUBJECT_TO_CHANGE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DG_DISABLE_DEPRECATED -DGNOME_VFS_PREFIX=\"/opt/jhbuild\" -DGNOME_VFS_BINDIR=\"/opt/jhbuild/bin\" -DGNOME_VFS_DATADIR=\"/opt/jhbuild/share\" -DGNOME_VFS_LIBDIR=\"/opt/jhbuild/lib64\" -DGNOME_VFS_LOCALEDIR=\"/opt/jhbuild/share/locale\" -DGNOME_VFS_SYSCONFDIR=\"/opt/jhbuild/etc\" -DG_LOG_DOMAIN=\"libgnomevfs\" -ggdb3 -O2 -MT gnome-vfs-ace.lo -MD -MP -MF .deps/gnome-vfs-ace.Tpo -c gnome-vfs-ace.c  -fPIC -DPIC -o .libs/gnome-vfs-ace.o
cc1: warnings being treated as errors
In file included from /opt/jhbuild/include/glib-2.0/glib/gthread.h:33,
                 from /opt/jhbuild/include/glib-2.0/glib/gasyncqueue.h:31,
                 from /opt/jhbuild/include/glib-2.0/glib.h:33,
                 from gnome-vfs-ace.h:29,
                 from gnome-vfs-ace.c:27:
/opt/jhbuild/include/glib-2.0/glib/gutils.h:320: warning: C99 inline functions are not supported; using GNU89
/opt/jhbuild/include/glib-2.0/glib/gutils.h:320: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
/opt/jhbuild/include/glib-2.0/glib/gutils.h:334: warning: C99 inline functions are not supported; using GNU89
/opt/jhbuild/include/glib-2.0/glib/gutils.h:347: warning: C99 inline functions are not supported; using GNU89
/opt/jhbuild/include/glib-2.0/glib/gutils.h:366: warning: C99 inline functions are not supported; using GNU89
/opt/jhbuild/include/glib-2.0/glib/gutils.h:374: warning: C99 inline functions are not supported; using GNU89
/opt/jhbuild/include/glib-2.0/glib/gutils.h:391: warning: C99 inline functions are not supported; using GNU89
/opt/jhbuild/include/glib-2.0/glib/gutils.h:400: warning: C99 inline functions are not supported; using GNU89
In file included from /opt/jhbuild/include/glib-2.0/glib/gasyncqueue.h:31,
                 from /opt/jhbuild/include/glib-2.0/glib.h:33,
                 from gnome-vfs-ace.h:29,
                 from gnome-vfs-ace.c:27:
/opt/jhbuild/include/glib-2.0/glib/gthread.h:334: warning: C99 inline functions are not supported; using GNU89
Comment 1 Murray Cumming 2008-03-17 13:52:54 UTC
*** Bug 522099 has been marked as a duplicate of this bug. ***
Comment 2 Murray Cumming 2008-03-17 13:59:47 UTC
I think that the #ifdefs in gutils.h are meant to avoid this problem, so I think this is a glib bug. Reassigning.
Comment 3 Murray Cumming 2008-03-17 14:03:19 UTC
*** Bug 520585 has been marked as a duplicate of this bug. ***
Comment 4 Murray Cumming 2008-03-17 14:24:44 UTC

*** This bug has been marked as a duplicate of 522292 ***