This is the mail archive of the gdb-patches@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]

Re: [patch] Fix --with-babeltrace with gcc-4.9.1


On 08/05/2014 04:29 AM, Jan Kratochvil wrote:
> gdb/
> 2014-08-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* configure.ac (--with-babeltrace): Use 'pos'.
> 	* configure: Regenerate.
> 
> diff --git a/gdb/configure.ac b/gdb/configure.ac
> index 70d0964..07d2f00 100644
> --- a/gdb/configure.ac
> +++ b/gdb/configure.ac
> @@ -2437,6 +2437,7 @@ else
>  			struct bt_ctf_event *event = NULL;
>  			const struct bt_definition *scope;
>  
> +			(void) pos; /* Prevent -Werror=unused-variable.  */

This patch fixes https://sourceware.org/bugzilla/show_bug.cgi?id=17104
Please mention it in ChangeLog entry.  I had a patch to this PR, but
didn't follow it up.  Yours is fine.

-- 
Yao (éå)


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