This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: <signal.h> broken with _POSIX_SOURCE=1 defined


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]