Bug#303124: g++-2.95 spews out lots of warnings with glib header
lool at dooz.org
Wed Sep 20 10:08:32 UTC 2006
On Tue, Apr 05, 2005, Richard Atterer wrote:
> compiling glib applications with g++-2.95 is possible, but the
> compiler outputs a lot of warnings like this:
> /usr/include/glib-2.0/gobject/gtype.h:431: warning: `visibility' attribute directive ignored
> The headers should suppress these warnings if the detected compiler is
> gcc 2.95.
I'm not sure upstream would accept a patch cluttering the headers for
to avoid warnings with an old compiler. I don't think we would want to
maintain a patch changing all invocations of G_GNUC_INTERNAL (currently
10) in Debian. It might be possible to patch only G_GNUC_INTERNAL, if
this is the case, and you're willing to write a patch, I'll forward it
upstream for inclusion.
Meanwhile, I suggest you disable that particular warning or this
particular class of warnings.
Loïc Minier <lool at dooz.org>
More information about the Pkg-gnome-maintainers