This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Werror in <sys/socket.h>
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 11 Dec 2014 13:58:52 -0800 (PST)
- Subject: Re: Werror in <sys/socket.h>
- Authentication-results: sourceware.org; auth=none
- References: <548A12FB dot 8040006 at twiddle dot net>
> Should <include/sys/socket.h> mirror <socket/sys/socket.h> in suppressing the
> definition of __sendmmsg if __USE_GNU is not defined? Or should we just add a
> forward declaration of the structure on the preceding line?
It was already fixed to do the former, which is closest to proper in the
current state of affairs. The latter would be adequate if the former
weren't easy. What we really should do is revamp our test build story so
that tests are not built with internal headers, but that is already a
long-term to-do.
Thanks,
Roland