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/16529] New: netinet/in.h breaks -pedantic


https://sourceware.org/bugzilla/show_bug.cgi?id=16529

            Bug ID: 16529
           Summary: netinet/in.h breaks -pedantic
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: alvarezp at alvarezp dot ods.org

Created attachment 7393
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7393&action=edit
Fix: comma at end of enum broke -pedantic

netinet/in.h breaks -pedantic

$ gcc -Wall -Wextra -Werror -pedantic -pedantic-errors -D_POSIX_C_SOURCE -o in
in-standard.c
In file included from in-standard.c:1:0:
/home/user/src/glibc/inet/netinet/in.h:111:21: error: comma at end of
enumerator list [-pedantic]

Line 111 was introduced by commit 6c82a2f8 [1] so there's not much history
about it. Simply the comma needs to be removed.

[1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=6c82a2f8

-- 
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]