This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: gas: rx: constify string to rx_error


On Mon, Oct 24, 2011 at 05:22:08AM -0400, Mike Frysinger wrote:
> On Wed, Oct 19, 2011 at 12:01, 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â
> > qualifier from pointer target type [-Werror]
> > ../../../gas/config/rx-defs.h:40:12: note: expected âchar *â but argument is of
> > type âconst char *â
> > cc1: all warnings being treated as errors
> >
> > 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.
> 
> so people OK with this ?
> -mike

I gave an OK in http://sourceware.org/ml/binutils/2011-10/msg00181.html

-- 
Alan Modra
Australia Development Lab, IBM


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