This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix for cr16 tools build issue with gcc 4.2.0
- From: Nick Clifton <nickc at redhat dot com>
- To: M R Swami Reddy <swami at india dot nsc dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 04 Jul 2007 15:29:30 +0100
- Subject: Re: [PATCH] Fix for cr16 tools build issue with gcc 4.2.0
- References: <468B8B82.6030806@india.nsc.com>
Hi Swami,
CR16 binutil tools build failed with GCC 4.2.0 native compiler to compile
the binutils-2.17.50/opcodes/cr16-dis.c file with a warning (warnings
are treated as errors).
I have applied your patch. One thing though - you did not provide a
ChangeLog entry, so I have invented one for you.
Cheers
Nick
opcodes/ChangeLog
2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
* cr16-dis.c (getcinvstring): Add const qualifier to char *
parameter.
(print_insn_cr16): Remove cast to char *.