This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/16421] New: IN6_IS_ADDR_UNSPECIFIED can use undefined s6_addr32
- From: "kazssym at vx68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 09 Jan 2014 12:46:38 +0000
- Subject: [Bug network/16421] New: IN6_IS_ADDR_UNSPECIFIED can use undefined s6_addr32
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16421
Bug ID: 16421
Summary: IN6_IS_ADDR_UNSPECIFIED can use undefined s6_addr32
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: network
Assignee: unassigned at sourceware dot org
Reporter: kazssym at vx68k dot org
I have got a report that my program causes compile error with undefined
s6_addr32 on the line I use IN6_IS_ADDR_UNSPECIFIED. I see s6_addr32 is
defined in <netinet/in.h> only if either __USE_MISC or __USE_GNU is defined but
IN6_IS_ADDR_UNSPECIFIED uses s6_addr32 unconditionally on GCC. I believe it is
a bug in the definition of IN6_IS_ADDR_UNSPECIFIED and similar macros.
Although I can work around the error by defining _GNU_SOURCE in the source
file, I wish it would be fixed as soon as possible.
--
You are receiving this mail because:
You are on the CC list for the bug.