[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/19478] New: GCC 6.0 Warnings
From: |
dilyan.palauzov at aegee dot org |
Subject: |
[Bug binutils/19478] New: GCC 6.0 Warnings |
Date: |
Sat, 16 Jan 2016 13:09:12 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19478
Bug ID: 19478
Summary: GCC 6.0 Warnings
Product: binutils
Version: 2.27 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dilyan.palauzov at aegee dot org
Target Milestone: ---
When compiling binutils GCC 6.0 states:
/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
make[4]: *** [dirsearch.o] Error 1
/git/binutils-gdb/gold/arm.cc:4519: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
make[4]: *** [arm.o] Error 1
make[4]: Target 'all-am' not remade because of errors.
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-gold] Error 2
/git/binutils-gdb/gdb/linux-record.c: In function ‘record_linux_sockaddr’:
/git/binutils-gdb/gdb/linux-record.c:115:9: error: statement is indented as if
it were guarded by... [-Werror=misleading-indentation]
return -1;
^~~~~~
/git/binutils-gdb/gdb/linux-record.c:109:7: note: ...this ‘if’ clause, but it
is not
if (record_debug)
^~
/git/binutils-gdb/gdb/linux-record.c: In function ‘record_linux_msghdr’:
/git/binutils-gdb/gdb/linux-record.c:153:9: error: statement is indented as if
it were guarded by... [-Werror=misleading-indentation]
return -1;
^~~~~~
/git/binutils-gdb/gdb/linux-record.c:146:7: note: ...this ‘if’ clause, but it
is not
if (record_debug)
^~
/git/binutils-gdb/gdb/linux-record.c:191:17: error: statement is indented as if
it were guarded by... [-Werror=misleading-indentation]
return -1;
^~~~~~
/git/binutils-gdb/gdb/linux-record.c:183:15: note: ...this ‘if’ clause, but it
is not
if (record_debug)
^~
/git/binutils-gdb/gdb/linux-record.c: In function ‘record_linux_system_call’:
/git/binutils-gdb/gdb/linux-record.c:986:21: error: statement is indented as if
it were guarded by... [-Werror=misleading-indentation]
return -1;
^~~~~~
/git/binutils-gdb/gdb/linux-record.c:980:19: note: ...this ‘if’ clause, but it
is not
if (record_debug)
^~
cc1: all warnings being treated as errors
make[2]: *** [linux-record.o] Error 1
/git/binutils-gdb/gdb/ada-lang.c: In function ‘ada_evaluate_subexp’:
/git/binutils-gdb/gdb/ada-lang.c:11423:9: error: statement is indented as if it
were guarded by... [-Werror=misleading-indentation]
arg1 = unwrap_value (arg1);
^~~~
/git/binutils-gdb/gdb/ada-lang.c:11421:7: note: ...this ‘else’ clause, but it
is not
else
^~~~
cc1: all warnings being treated as errors
make[2]: *** [ada-lang.o] Error 1
/git/binutils-gdb/gdb/c-typeprint.c: In function ‘c_type_print_base’:
/git/binutils-gdb/gdb/c-typeprint.c:1308:3: error: statement is indented as if
it were guarded by... [-Werror=misleading-indentation]
for (i = 0; i < TYPE_TYPEDEF_FIELD_COUNT (type); i++)
^~~
/git/binutils-gdb/gdb/c-typeprint.c:1305:8: note: ...this ‘if’ clause, but it
is not
if (TYPE_NFIELDS (type) != 0 || TYPE_NFN_FIELDS (type) != 0)
^~
cc1: all warnings being treated as errors
make[2]: *** [c-typeprint.o] Error 1
/git/binutils-gdb/gdb/inflow.c: In function ‘child_terminal_ours_1’:
/git/binutils-gdb/gdb/inflow.c:416:5: error: statement is indented as if it
were guarded by... [-Werror=misleading-indentation]
{
^
/git/binutils-gdb/gdb/inflow.c:413:3: note: ...this ‘if’ clause, but it is not
if (tinfo->run_terminal != NULL || gdb_has_a_terminal () == 0)
^~
cc1: all warnings being treated as errors
make[2]: *** [inflow.o] Error 1
make[2]: Target 'all' not remade because of errors.
make[1]: *** [all-gdb] Error 2
make[1]: Target 'all-host' not remade because of errors.
make: *** [all] Error 2
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug binutils/19478] New: GCC 6.0 Warnings,
dilyan.palauzov at aegee dot org <=