This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix sol-thread.c compilation on Solaris
- From: Tom Tromey <tom at tromey dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 29 Nov 2017 08:36:21 -0700
- Subject: Re: Fix sol-thread.c compilation on Solaris
- Authentication-results: sourceware.org; auth=none
- References: <ydd1skifsex.fsf@CeBiTec.Uni-Bielefeld.DE>
>>>>> "Rainer" == Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
Rainer> /vol/src/gnu/gdb/gdb/dist/gdb/command.h:140:33: note: initializing argument 3 of ‘cmd_list_element* add_cmd(const char*, command_class, void (*)(const char*, int), const char*, cmd_list_element**)’
Rainer> extern struct cmd_list_element *add_cmd (const char *, enum command_class,
Rainer> ^~~~~~~
Rainer> The following patch allows compilation to succeed on i386-pc-solaris2.11
Rainer> and sparc-sun-solaris2.11.
Thanks for fixing this.
Tom