Package: libglib2.0-dev
Version: 2.6.3-1
Severity: minor

Hello,

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
/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

Apparently, this is caused by the G_GNUC_INTERNAL e.g. in gtype.h:431:
void    g_value_c_init          (void) G_GNUC_INTERNAL; /* sync with gvalue.c */

I used the following compiler switches: -Wall -W -Wpointer-arith -Wconversion 
-Woverloaded-virtual -O2

The headers should suppress these warnings if the detected compiler is
gcc 2.95.

Cheers,

  Richard

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-15)

Versions of packages libglib2.0-dev depends on:
ii  libc6-dev [libc-dev]        2.3.2.ds1-20 GNU C Library: Development Librari
ii  libglib2.0-0                2.6.3-1      The GLib library of C routines
ii  pkg-config                  0.15.0-4     Manage compile and link flags for 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to