From: Juanma Barranquero <lekktu@gmail.com>
To: Dan Nicolaescu <dann@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: compiling with -Wwrite-strings
Date: Mon, 9 Aug 2010 23:23:43 +0200 [thread overview]
Message-ID: <AANLkTimgp3RfatAtmzh6cBuyWJEDp32fmOoG9SEbG+C2@mail.gmail.com> (raw)
In-Reply-To: <yxqwrrza6fm.fsf@fencepost.gnu.org>
On Mon, Aug 9, 2010 at 22:15, Dan Nicolaescu <dann@gnu.org> wrote:
> Most are easy to fix: just use "const char*" instead of "char*" for
> function arguments, variables, struct fields, etc.
BTW:
font.c: In function 'font_parse_xlfd':
font.c:997: warning: assignment discards qualifiers from pointer target type
font.c:1000: warning: assignment discards qualifiers from pointer target type
font.c:1007: warning: assignment discards qualifiers from pointer target type
font.c: In function 'font_parse_fcname':
font.c:1319: warning: assignment discards qualifiers from pointer target type
font.c:1455: warning: assignment discards qualifiers from pointer target type
font.c: In function 'font_unparse_fcname':
font.c:1645: warning: assignment discards qualifiers from pointer target type
> Help doing this would be appreciated.
If it is still needed I'll try to tackle this once I'm back (Aug, 18).
Juanma
next prev parent reply other threads:[~2010-08-09 21:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-09 20:15 compiling with -Wwrite-strings Dan Nicolaescu
2010-08-09 21:23 ` Juanma Barranquero [this message]
2010-08-09 22:04 ` Dan Nicolaescu
2010-08-11 8:24 ` Jan Djärv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTimgp3RfatAtmzh6cBuyWJEDp32fmOoG9SEbG+C2@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=dann@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).