Bug#470796: libglib2.0-dev: provokes warnings when gcc is in C99 mode

Sebastian Dröge slomo at circular-chaos.org
Thu Mar 13 19:35:08 UTC 2008


forwarded 470796 http://bugzilla.gnome.org/show_bug.cgi?id=522292
thanks

Am Donnerstag, den 13.03.2008, 18:28 +0000 schrieb Simon McVittie:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Package: libglib2.0-dev
> Version: 2.16.1-1
> Severity: normal
> Tags: patch
> 
> When a C program that includes <glib/gutils.h> is built with
> gcc -std=gnu99 or with gcc -std=c99, warnings are provoked by the GLib headers.
> When gcc is invoked with -std=gnu89 (the default) or -std=c89, there are no
> warnings.
> 
> Many projects use -Werror for compilation (at least for development versions),
> and AC_PROG_CC_STDC selects -std=gnu99 by default, so this prevents compilation
> of (for instance) development versions of Telepathy components.

Hi,
I can confirm this here and your patch is IMHO correct... forwarded it
upstream and the next Debian version will include your patch too.

http://bugzilla.gnome.org/show_bug.cgi?id=522292
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080313/662030d0/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list