[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#222055: libc6-dev: New headers break gcc-2.95 and gcc272



Package: libc6-dev
Version: 2.3.2.ds1-10
Severity: normal


The following trivial program gives a compile warning using gcc-2.95 or
gcc272 on my debian testing system. gcc-3.2 and gcc-3.3 are both fine.

#include <signal.h>

int main (void)
{
    return 0;
}

The warning I get is:

In file included from /usr/include/asm/sigcontext.h:4,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:326,
                 from foobar.c:1:
/usr/include/linux/compiler.h:17: warning: `__attribute_used__' redefined
/usr/include/sys/cdefs.h:195: warning: this is the location of the previous definition

I'm not sure if I should blame libc6-dev or linux-kernel-headers for this one.

Some additional system information not collected by reportbug:
gcc272 version 2.7.2.3-18
gcc-2.95 version 1:2.95.4-19

Hope this helps,

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux Angel 2.4.22 #1 Fri Aug 29 00:52:26 PDT 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6-dev depends on:
ii  libc6                 2.3.2.ds1-10       GNU C Library: Shared libraries an
ii  linux-kernel-headers  2.5.999-test7-bk-9 Linux Kernel Headers for developme

-- no debconf information




Reply to: