This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] gdbserver: use the new gdb warning helpers
- From: Pedro Alves <palves at redhat dot com>
- To: Mike Frysinger <vapier at gentoo dot org>, gdb-patches at sourceware dot org
- Date: Tue, 12 Jan 2016 10:32:58 +0000
- Subject: Re: [PATCH 2/2] gdbserver: use the new gdb warning helpers
- Authentication-results: sourceware.org; auth=none
- References: <1452539775-32541-1-git-send-email-vapier at gentoo dot org> <1452539775-32541-2-git-send-email-vapier at gentoo dot org>
On 01/11/2016 07:16 PM, Mike Frysinger wrote:
> We need to use -Wno-missing-prototypes for now as much of the code
> sticks externs in local files and not in common headers.
>
> +AM_GDB_WARNINGS
> +dnl The codebase isn't clean yet with this flag.
> +case " $WARN_CFLAGS " in
> +*" -Wmissing-prototypes "*)
> + WARN_CFLAGS="$WARN_CFLAGS -Wno-missing-prototypes"
> + ;;
> +esac
>
That's fine with me. Again, thanks for doing this.
Thanks,
Pedro Alves