This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/16421] IN6_IS_ADDR_UNSPECIFIED can use undefined s6_addr32
- From: "alvarezp at alvarezp dot ods.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 04 Feb 2014 18:08:17 +0000
- Subject: [Bug network/16421] IN6_IS_ADDR_UNSPECIFIED can use undefined s6_addr32
- Auto-submitted: auto-generated
- References: <bug-16421-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16421
--- Comment #14 from Octavio Alvarez <alvarezp at alvarezp dot ods.org> ---
>> Either we go back to patch #1, which keeps both implementations and just
>> adds the test for definition of __USE_GNU and __USE_MISC macros and does not
>> break strict compilers, or we remove the #ifdef __GNUC__ implementation
>> altogether and leave only the #else implementation unconditionally.
> Not an option. Please leave the __GNUC__ implementation for optimally
> supporting those using GNU extensions.
Patch #1, the original one from Sebastien does exactly that.
> The fix I'll accept is:
>
> - Unconditionally define __u6_* in the union.
> - Fix all the macros.
> - Test that.
By "fix all the macros", do you mean, rewrite them so they don't use statement
expressions?
--
You are receiving this mail because:
You are on the CC list for the bug.