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

Yao Qi
2014-08-06T01:04:01Z

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 (é½å°§)