[Jamin] zillions of warning messages with glib-2.6.1

From: Jack O'Quin ^lt;joq_at_io.com>
Date: 02/15/05 23:44 EST
Message-ID: <87ll9pxgfj.fsf@sulphur.joq.us>

I had updated my GTK libraries to the Debian testing versions, which
pulled in libglib-2.6.1.  Now, when I compile current CVS jamin, I get
lots of annoying warning messages.  This happens with both gcc-2.95
and gcc-3.2.  The program does still seem to work, but I really hate
seeing all those warnings.

Any ideas or suggestions?

Here are some of the warnings...

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/INSTALL/jamin/share"\" -DPACKAGE_LOCALE_DIR=\""/INSTALL/jamin/share/locale"\" -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -I/usr/local/stow/fftwf/include    -I/usr/include/libxml2   -I/INSTALL/liblo/include   -Wall   -g -g -I/usr/local/stow/fftwf/include    -I/usr/include/libxml2   -I/INSTALL/liblo/include   -Wall  -c -o libnopt_a-interface.o `test -f 'interface.c' || echo './'`interface.c
In file included from /usr/include/glib-2.0/glib.h:52,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from interface.c:16:
/usr/include/glib-2.0/glib/gmessages.h:109: warning: `visibility' attribute directive ignored
In file included from /usr/include/glib-2.0/gobject/gboxed.h:26,
                 from /usr/include/glib-2.0/glib-object.h:25,
                 from /usr/include/pango-1.0/pango/pango-types.h:26,
                 from /usr/include/pango-1.0/pango/pango-font.h:26,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:33,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from interface.c:16:
/usr/include/glib-2.0/gobject/gtype.h:431: warning: `visibility' attribute directive ignored
/usr/include/glib-2.0/gobject/gtype.h:432: warning: `visibility' attribute directive ignored
/usr/include/glib-2.0/gobject/gtype.h:433: warning: `visibility' attribute directive ignored

[...]

Almost all of the warnings refer to this `visibility' attribute (what
is that?).  But, there were a couple of scarier ones...

callbacks.c: In function `on_lim_in_meter_eventbox_button_press_event':
callbacks.c:2670: warning: implicit declaration of function `limiter_inmeter_reset_peak'
callbacks.c: In function `on_lim_out_meter_eventbox_button_press_event':
callbacks.c:2682: warning: implicit declaration of function `limiter_outmeter_reset_peak'
-- 
  joq


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Jamin-devel mailing list
Jamin-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jamin-devel
Received on Tue Feb 15 23:42:03 2005

This archive was generated by hypermail 2.1.8 : 02/15/05 23:42 EST