This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: <signal.h> broken with _POSIX_SOURCE=1 defined
- To: Zack Weinberg <zack@rabi.columbia.edu>
- Subject: Re: <signal.h> broken with _POSIX_SOURCE=1 defined
- From: Philip Blundell <pb@nexus.co.uk>
- Date: Tue, 03 Nov 1998 14:07:46 +0100
- cc: "Matthias Urlichs" <smurf@noris.de>, libc-hacker@cygnus.com
>db_185.h, regexp.h, and rpcsvc/*) That picks up a bunch of clashes
>already. Some of the errors make no sense at all -- the parse errors
>are on perfectly acceptable-looking enums -- and some of the others
>may be hard to fix.
Parse errors on enums are usually because you did
#define FOO 1
and then later
enum {
FOO
}
-- by the time cc1 sees the latter, it's turned into "enum { 1 }" which is
obviously bogus.
>In file included from t-standards/all-headers.c:93:
>../sysdeps/unix/sysv/linux/netpacket/packet.h:24: redefinition of `struct sock
>addr_ll'
>../sysdeps/unix/sysv/linux/netpacket/packet.h:50: redefinition of `struct pack
>et_mreq'
I'm puzzled by this one. Can you see how it happened?
p.