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

            Bug ID: 21034
           Summary: binutils/stabs.c:2705:  if (**pp == ';' || *pp ==
                    '\0')
           Product: binutils
           Version: 2.29 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: dilyan.palauzov at aegee dot org
  Target Milestone: ---

I think gcc 7 is right here:

gcc -DHAVE_CONFIG_H -I. -I/git/binutils-gdb/binutils  -I.
-I/git/binutils-gdb/binutils -I../bfd -I/git/binutils-gdb/binutils/../bfd
-I/git/binutils-gdb/binutils/../include
-DLOCALEDIR="\"/usr/local/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation  -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror  -MT stabs.o -MD -MP
-MF .deps/stabs.Tpo -c -o stabs.o /git/binutils-gdb/binutils/stabs.c
/git/binutils-gdb/binutils/stabs.c: In function ‘parse_stab_members’:
/git/binutils-gdb/binutils/stabs.c:2705:31: error: comparison between pointer
and zero character constant [-Werror=pointer-compare]
        if (**pp == ';' || *pp == '\0')
                               ^~
/git/binutils-gdb/binutils/stabs.c:2705:27: note: did you mean to dereference
the pointer?
        if (**pp == ';' || *pp == '\0')
                           ^
cc1: all warnings being treated as errors
make: *** [Makefile:962: stabs.o] Error 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to