This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/3] ada-lex: Ignore warnings about register keyword
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Mon, 26 Jun 2017 14:13:17 +0100
- Subject: Re: [PATCH 1/3] ada-lex: Ignore warnings about register keyword
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com E70F14E357
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E70F14E357
- References: <1498412703-24303-1-git-send-email-simon.marchi@ericsson.com> <1498412703-24303-2-git-send-email-simon.marchi@ericsson.com>
On 06/25/2017 06:45 PM, Simon Marchi wrote:
> Some older versions of flex (such as the one shipped with macOS) generate
> code that use the register keyword, which clang warns about. This patch
> makes the compiler ignore those warnings for the portion of the code
> generated by flex.
This is fine with me, modulo the "old/older" in comments, since "old"
is a moving target. Can you add some reference to the actual version
this was observed on?
Thanks,
Pedro Alves