From: Dan Nicolaescu <dann@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: compiling with -Wwrite-strings
Date: Mon, 09 Aug 2010 18:04:42 -0400 [thread overview]
Message-ID: <yxq1va7cuit.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <AANLkTimgp3RfatAtmzh6cBuyWJEDp32fmOoG9SEbG+C2@mail.gmail.com> (Juanma Barranquero's message of "Mon\, 9 Aug 2010 23\:23\:43 +0200")
Juanma Barranquero <lekktu@gmail.com> writes:
> 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
Thanks, this should be fixed now.
next prev parent reply other threads:[~2010-08-09 22:04 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
2010-08-09 22:04 ` Dan Nicolaescu [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yxq1va7cuit.fsf@fencepost.gnu.org \
--to=dann@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.