https://sourceware.org/bugzilla/show_bug.cgi?id=31333
Bug ID: 31333 Summary: Unused variable in binutils/sim/common/dv-sockser.c Product: binutils Version: 2.43 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: jdx at o2 dot pl Target Milestone: --- Host: x86_64-w64-mingw32 Target: h8300-elf This is what happened when I tried to build rev. e58beedf for H8: [...] CC h8300/dv-sockser.o ../../../binutils/sim/common/dv-sockser.c: In function 'connected_p': ../../../binutils/sim/common/dv-sockser.c:221:14: error: unused variable 'flags' [-Werror=unused-variable] 221 | int numfds,flags; | ^~~~~ cc1.exe: all warnings being treated as errors make[3]: *** [Makefile:5359: h8300/dv-sockser.o] Error 1 make[3]: Leaving directory '/d/Works/xcomp/binutils-build/sim' make[2]: *** [Makefile:3235: all] Error 2 make[2]: Leaving directory '/d/Works/xcomp/binutils-build/sim' make[1]: *** [Makefile:10890: all-sim] Error 2 make[1]: Leaving directory '/d/Works/xcomp/binutils-build' make: *** [Makefile:1045: all] Error 2 -- You are receiving this mail because: You are on the CC list for the bug.