From: Michael Albinus <michael.albinus@gmx.de>
To: Peter Dyballa <Peter_Dyballa@Freenet.DE>
Cc: emacs-devel@gnu.org
Subject: Re: 23.0.50; dbus
Date: Mon, 31 Dec 2007 22:43:32 +0100 [thread overview]
Message-ID: <87k5mufsl7.fsf@gmx.de> (raw)
In-Reply-To: <F1916833-84D2-4068-AA97-A12DF498C0B5@Freenet.DE> (Peter Dyballa's message of "Sun, 23 Dec 2007 17:10:20 +0100")
Peter Dyballa <Peter_Dyballa@Freenet.DE> writes:
> gcc -I/sw/include -L/sw/lib -c -DMAC_OSX -no-cpp-precomp -I/usr/
> include/openssl -I/sw/include/pango-1.0 -I/sw/lib/freetype219/include
> -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/fontconfig2/include
> -I/sw/include -I/usr/local/include -idirafter /usr/X11R6/include -
> Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/.../emacs/src -DMAC_OSX -I/
> usr/X11R6/include -Dtemacs -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/
> include -I/sw/include/gtk-2.0 -I/sw/include/librsvg-2 -I/sw/include/
> dbus-1.0 -I/sw/lib/dbus-1.0/include -bind_at_load -pipe -fPIC -
> mcpu=7450 -mtune=7450 -fast -mpim-altivec -ftree-vectorize -foptimize-
> register-move -freorder-blocks -freorder-blocks-and-partition -
> fthread-jumps -fpeephole -fno-crossjumping dbusbind.c
> dbusbind.c: In function xd_append_arg:
> dbusbind.c:344: warning: pointer targets in assignment differ in
> signedness
> dbusbind.c:350: warning: pointer targets in assignment differ in
> signedness
> dbusbind.c:392: warning: pointer targets in assignment differ in
> signedness
These problems shall be fixed now, too.
> dbusbind.c: In function xd_read_message:
> dbusbind.c:983: warning: pointer targets in passing argument 2 of
> strcmp differ in signedness
> dbusbind.c:986: warning: pointer targets in passing argument 2 of
> strcmp differ in signedness
> dbusbind.c: In function Fdbus_register_signal:
> dbusbind.c:1089: warning: pointer targets in passing argument 1 of
> strlen differ in signedness
> dbusbind.c:1090: warning: pointer targets in passing argument 1 of
> strcmp differ in signedness
> dbusbind.c:1091: warning: pointer targets in passing argument 1 of
> strncmp differ in signedness
> dbusbind.c:1104: warning: pointer targets in passing argument 1 of
> strlen differ in signedness
Here I'm lost. I use something like
if (NILP (uname) || (strlen (SDATA (uname)) > 0))
uname is a Lisp_Object. SDATA (uname) returns (char *). What kind of
signedness do I break in strlen? Does anybody have an idea?
>> (dbus-get-unique-name :system)
>
> For example: ":1.2"
>
>> (dbus-get-unique-name :session)
>
> ":1.0"
>
>>
>> (dbus-list-names :system)
>
> ("org.freedesktop.DBus" ":1.1" ":1.2")
> ("org.freedesktop.DBus" ":1.2")
>
>
>> (dbus-list-names :session)
>
> ("org.freedesktop.DBus" ":1.0")
>
>>
>> (dbus-list-known-names :system)
>
> ("org.freedesktop.DBus")
>
>> (dbus-list-known-names :session)
>
> ("org.freedesktop.DBus")
All this means that dbusbind.c is working and there is no other D-Bus
application running. Too bad ...
Best regards, Michael.
next prev parent reply other threads:[~2007-12-31 21:43 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-10 12:00 23.0.50; dbus Peter Dyballa
2007-12-10 12:24 ` William Xu
2007-12-10 12:47 ` Jason Rumney
2007-12-10 12:56 ` Jason Rumney
2007-12-14 21:58 ` Michael Albinus
2007-12-15 10:41 ` Peter Dyballa
2007-12-16 22:57 ` Michael Albinus
2007-12-17 11:04 ` Peter Dyballa
2007-12-17 11:38 ` Michael Albinus
2007-12-21 0:05 ` Stefan Monnier
2007-12-21 19:49 ` Richard Stallman
2007-12-23 16:10 ` Peter Dyballa
2007-12-31 21:43 ` Michael Albinus [this message]
2007-12-31 22:26 ` Andreas Schwab
2008-01-01 10:46 ` Michael Albinus
2008-01-01 11:28 ` Peter Dyballa
2008-01-02 3:06 ` Stefan Monnier
2008-01-02 5:10 ` Michael Albinus
2008-01-02 11:40 ` Thien-Thi Nguyen
2008-01-02 12:48 ` Michael Albinus
2008-01-02 13:41 ` Thien-Thi Nguyen
2008-01-02 15:01 ` Stefan Monnier
2008-01-02 23:32 ` Michael Albinus
2008-01-02 23:59 ` Peter Dyballa
2008-01-03 12:28 ` Jan Djärv
2008-01-05 15:25 ` Peter Dyballa
2007-12-24 12:43 ` Peter Dyballa
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=87k5mufsl7.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=Peter_Dyballa@Freenet.DE \
--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).