This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 0/7] enable -Wwrite-strings for gas
- From: Alan Modra <amodra at gmail dot com>
- To: tbsaunde+binutils at tbsaunde dot org
- Cc: binutils at sourceware dot org
- Date: Thu, 31 Mar 2016 20:54:35 +1030
- Subject: Re: [PATCH 0/7] enable -Wwrite-strings for gas
- Authentication-results: sourceware.org; auth=none
- References: <1459300381-19313-1-git-send-email-tbsaunde+binutils at tbsaunde dot org>
On Tue, Mar 29, 2016 at 09:12:54PM -0400, tbsaunde+binutils@tbsaunde.org wrote:
> cast literal to char * when assigning to input_line_ptr
> work around get_symbol_name () in sparc and ia64
> cast to char * when assigning to optarg
> cast the arg to md_assemble () to char *
> tc-i960.c: add some casts when assigning literals to args[i]
> make xtensa_section_rename () take const char *
> enable -Wwrite-strings for gas
These are all OK.
--
Alan Modra
Australia Development Lab, IBM