From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: 7838@debbugs.gnu.org
Subject: bug#7838: 24.0.50; warning in lib-src/emacsclient.c:1235 in Mac OS X
Date: Thu, 13 Jan 2011 23:16:20 +0100 [thread overview]
Message-ID: <94595B14-6F4F-4574-A93E-8B43C38768BF@Freenet.DE> (raw)
Hello!
From *compilation* buffer:
..../lib-src/emacsclient.c: In function ‘set_local_socket’:
..../lib-src/emacsclient.c:1235: warning: passing argument 2 of
‘confstr’ discards qualifiers from pointer target type
Multiple include guards may be useful for:
../src/s/darwin.h
From the source:
1222 if (default_sock)
1223 {
1224 tmpdir = egetenv ("TMPDIR");
1225 if (!tmpdir)
1226 {
1227 #ifdef DARWIN_OS
1228 #ifndef _CS_DARWIN_USER_TEMP_DIR
1229 #define _CS_DARWIN_USER_TEMP_DIR 65537
1230 #endif
1231 size_t n = confstr (_CS_DARWIN_USER_TEMP_DIR, NULL,
(size_t) 0);
1232 if (n > 0)
1233 {
1234 tmpdir = alloca (n);
1235 confstr (_CS_DARWIN_USER_TEMP_DIR, tmpdir, n);
1236 }
1237 else
1238 #endif
1239 tmpdir = "/tmp";
1240 }
In GNU Emacs 24.0.50.1 (powerpc-apple-darwin9.8.0, X toolkit, Xaw3d
scroll bars)
of 2011-01-13 on localhost
Windowing system distributor `The X.Org Foundation', version
11.0.10903000
configured using `configure '--without-sound' '--without-dbus' '--
without-pop' '--without-gconf' '--with-x-toolkit=athena' '--x-
libraries=/usr/X11/lib' '--x-includes=/usr/X11/include' '--enable-
locallisppath=/Library/Application Support/Emacs/calendar24:/Library/
Application Support/Emacs' 'CFLAGS=-g -H -pipe -fPIC -fno-common -
mcpu=7450 -mtune=7450 -faltivec -fast' 'CPPFLAGS=-I/usr/local/include -
idirafter /opt/local/include' 'LDFLAGS=-L/usr/local/lib -Wl,-
dead_strip_dylibs' 'CC=gcc-4.2' 'CPP=cpp-4.2' 'PKG_CONFIG_PATH=/usr/
local/lib/pkgconfig:/usr/local/share/pkgconfig:/opt/local/lib/
pkgconfig:/opt/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/
pkgconfig:/usr/X11/share/pkgconfig''
--
Greetings
Pete
Never be led astray onto the path of virtue
next reply other threads:[~2011-01-13 22:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-13 22:16 Peter Dyballa [this message]
[not found] ` <handler.7838.B.129495701012937.ack@debbugs.gnu.org>
2011-03-31 17:26 ` bug#7838: Acknowledgement (24.0.50; warning in lib-src/emacsclient.c:1235 in Mac OS X) Peter Dyballa
2012-06-18 2:58 ` bug#7838: 24.0.50; warning in lib-src/emacsclient.c:1235 in Mac OS X Samuel Bronson
2012-06-22 20:58 ` Peter Dyballa
2012-06-24 9:43 ` Chong Yidong
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=94595B14-6F4F-4574-A93E-8B43C38768BF@Freenet.DE \
--to=peter_dyballa@freenet.de \
--cc=7838@debbugs.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).