* Warning during compilation of fileio.c
@ 2003-03-21 23:42 Kim F. Storm
2003-03-23 2:09 ` Kenichi Handa
0 siblings, 1 reply; 2+ messages in thread
From: Kim F. Storm @ 2003-03-21 23:42 UTC (permalink / raw)
On GNU/Linux, I get the following compiler warnings with the latest CVS version:
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
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Warning during compilation of fileio.c
2003-03-21 23:42 Warning during compilation of fileio.c Kim F. Storm
@ 2003-03-23 2:09 ` Kenichi Handa
0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2003-03-23 2:09 UTC (permalink / raw)
Cc: emacs-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-23 2:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-21 23:42 Warning during compilation of fileio.c Kim F. Storm
2003-03-23 2:09 ` Kenichi Handa
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).