|
From: | dilyan.palauzov at aegee dot org |
Subject: | [Bug gold/18763] New: dirsearch.cc: Dir_caches::~Dir_caches()’ defined but not used |
Date: | Mon, 03 Aug 2015 10:58:07 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18763 Bug ID: 18763 Summary: dirsearch.cc: Dir_caches::~Dir_caches()’ 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/dirsearch.cc with GCC6.0 fails with make[2]: Entering directory '/home/d/rasbperry/cross/binutils/gold' 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=dirsearch.o -pipe -O3 -flto -fno-fat-lto-objects -MT dirsearch.o -MD -MP -MF .deps/dirsearch.Tpo -c -o dirsearch.o /git/binutils-gdb/gold/dirsearch.cc /git/binutils-gdb/gold/dirsearch.cc:125:1: error: ‘{anonymous}::Dir_caches::~Dir_caches()’ defined but not used [-Werror=unused-function] Dir_caches::~Dir_caches() ^ cc1plus: all warnings being treated as errors Makefile:851: recipe for target 'dirsearch.o' failed make[2]: *** [dirsearch.o] Error 1 The Dir_caches destructor is indeed never called. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |