all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: Warning during compilation of fileio.c
Date: Sun, 23 Mar 2003 11:09:09 +0900 (JST)	[thread overview]
Message-ID: <200303230209.LAA04222@etlken.m17n.org> (raw)
In-Reply-To: <5xvfycz3pz.fsf@kfs2.cua.dk> (storm@cua.dk)

In article <5xvfycz3pz.fsf@kfs2.cua.dk>, storm@cua.dk (Kim F. Storm) writes:
> gcc -c -D_BSD_SOURCE     -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/home/kfs/fsf/emacs/src   -D_BSD_SOURCE    -I/usr/X11R6/include        -g -O2  fileio.c
> fileio.c: In function `Ffile_name_directory':
> fileio.c:450: warning: passing arg 1 of `make_specified_string' discards `const' from pointer target type
> fileio.c: In function `Ffile_name_nondirectory':
> fileio.c:489: warning: passing arg 1 of `make_specified_string' discards `const' from pointer target type

I've just installed these changes.

2003-03-23  Kenichi Handa  <handa@m17n.org>

	* alloc.c (make_string_from_bytes): Add `const' for the arg
	CONTENTS.
	(make_specified_string): Likewise.

	* lisp.h (make_string_from_bytes, make_specified_string):
	Prototypes adjusted.

---
Ken'ichi HANDA
handa@m17n.org

      reply	other threads:[~2003-03-23  2:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-21 23:42 Warning during compilation of fileio.c Kim F. Storm
2003-03-23  2:09 ` Kenichi Handa [this message]

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=200303230209.LAA04222@etlken.m17n.org \
    --to=handa@m17n.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 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.