This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gas: rx: constify string to rx_error
- From: Alan Modra <amodra at gmail dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: binutils at sourceware dot org, dj at redhat dot com
- Date: Thu, 20 Oct 2011 10:33:29 +1030
- Subject: Re: gas: rx: constify string to rx_error
- References: <201110191202.00641.vapier@gentoo.org>
On Wed, Oct 19, 2011 at 12:01:57PM -0400, Mike Frysinger wrote:
> building rx's gas code atm fails:
>
> rx-parse.c: In function ârx_parseâ:
> rx-parse.c:3774:9: error: passing argument 1 of ârx_errorâ discards âconstâ
I'm curious because I don't see this error. What's the code here look
like? What version of bison are you using?
> 2011-10-19 Mike Frysinger <vapier@gentoo.org>
>
> * config/rx-defs.h (rx_error): Add const to first arg.
> * config/rx-parse.y (rx_error): Likewise.
OK.
--
Alan Modra
Australia Development Lab, IBM