This is the mail archive of the glibc-bugs@sourceware.org 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]
Other format: [Raw text]

[Bug network/16421] IN6_IS_ADDR_UNSPECIFIED can use undefined s6_addr32


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.


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