This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Mark big and mach with ATTRIBUTE_UNUSED
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Mon, 07 Aug 2017 12:23:38 -0400
- Subject: [binutils-gdb] Mark big and mach with ATTRIBUTE_UNUSED
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT b28b8b5e31903f59b00a4664b8204409e1e5bb91 ***
Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: b28b8b5e31903f59b00a4664b8204409e1e5bb91
Mark big and mach with ATTRIBUTE_UNUSED
Fix build on x86:
opcodes/disassemble.c: In function disassembler:
opcodes/disassemble.c:113:52: error: unused parameter big [-Werror=unused-parameter]
disassembler (enum bfd_architecture a, bfd_boolean big, unsigned long mach,
^~~
opcodes/disassemble.c:113:71: error: unused parameter mach [-Werror=unused-parameter]
disassembler (enum bfd_architecture a, bfd_boolean big, unsigned long mach,
^~~~
cc1: all warnings being treated as errors
* disassemble.c (disassembler): Mark big and mach with
ATTRIBUTE_UNUSED.