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] New: IN6_IS_ADDR_UNSPECIFIED can use undefined s6_addr32


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.


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