This is the mail archive of the gdb-testers@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Mark big and mach with ATTRIBUTE_UNUSED


*** 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]