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 build/18755] New: build errors with -DNDEBUG


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

            Bug ID: 18755
           Summary: build errors with -DNDEBUG
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: msebor at redhat dot com
                CC: carlos at redhat dot com
  Target Milestone: ---

The top of trunk (commit fddb87425a25aeb6e937496c4952c9bf3d8bb673) fails to
build when the NDEBUG macro is defined due to the following errors:

$ grep "error: " make.log  | grep -v "No such " | sort -u
../iconv/skeleton.c:678:16: error: variable ânstatusâ set but not used
[-Werror=unused-but-set-variable]
nscd.c:662:11: error: unused variable âretâ [-Werror=unused-variable]
nscd.c:694:7: error: unused variable âretâ [-Werror=unused-variable]
../sysdeps/nptl/gai_misc.h:108:7: error: variable âsigerrâ set but not used
[-Werror=unused-but-set-variable]
../sysdeps/nptl/gai_misc.h:84:7: error: unused variable âsigerrâ
[-Werror=unused-variable]

A simple patch was posted here:
https://sourceware.org/ml/libc-alpha/2015-07/msg00507.html

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