https://sourceware.org/bugzilla/show_bug.cgi?id=18764
Bug ID: 18764 Summary: arm.cc:4495: error: Reloc_stub::Key::name() const defined but not used Product: binutils Version: 2.26 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: dilyan.palauzov at aegee dot org CC: ian at airs dot com Target Milestone: --- Compiling gold with GCC 6.0 -Werror fails with: armv6kz-hardfloat-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I/git/binutils-gdb/gold -I/git/binutils-gdb/gold -I/git/binutils-gdb/gold/../include -I/git/binutils-gdb/gold/../elfcpp -DLOCALEDIR="\"/usr/share/locale\"" -DBINDIR="\"/usr/bin\"" -DTOOLBINDIR="\"/usr/armv6kz-hardfloat-linux-gnueabi/bin\"" -DTOOLLIBDIR="\"/usr/armv6kz-hardfloat-linux-gnueabi/lib\"" -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=arm.o -pipe -O3 -flto -fno-fat-lto-objects -MT arm.o -MD -MP -MF .deps/arm.Tpo -c -o arm.o /git/binutils-gdb/gold/arm.cc /git/binutils-gdb/gold/arm.cc:4495:1: error: ‘std::__cxx11::string {anonymous}::Reloc_stub::Key::name() const’ defined but not used [-Werror=unused-function] Reloc_stub::Key::name() const ^ cc1plus: all warnings being treated as errors Makefile:851: recipe for target 'arm.o' failed make: *** [arm.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