--- Begin Message ---
Subject: |
29.0.50; Warnings when compiling net/dbus.el |
Date: |
Sat, 29 Oct 2022 14:02:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 |
Hi all,
building Emacs from master (f826f56a41) issues this warning:
In dbus-register-signal:
net/dbus.el:842:16: Warning: reference to free variable `dbus-debug'
In dbus-check-event:
net/dbus.el:1073:9: Warning: reference to free variable `dbus-debug'
In dbus-handle-event:
net/dbus.el:1160:47: Warning: reference to free variable `dbus-debug'
net/dbus.el:1283:9: Warning: Variable `dbus-debug' left uninitialized
net/dbus.el:1295:9: Warning: Variable `dbus-debug' left uninitialized
net/dbus.el:1311:9: Warning: Variable `dbus-debug' left uninitialized
net/dbus.el:1320:9: Warning: Variable `dbus-debug' left uninitialized
net/dbus.el:1394:9: Warning: Variable `dbus-debug' left uninitialized
net/dbus.el:1631:9: Warning: Variable `dbus-debug' left uninitialized
net/dbus.el:1891:18: Warning: Variable `dbus-debug' left uninitialized
ELC net/dns.elc
In dbus-register-monitor:
net/dbus.el:2032:11: Warning: reference to free variable `dbus-debug'
In dbus--init:
net/dbus.el:2255:8: Warning: reference to free variable `dbus-debug'
Best, Arash
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#58865: 29.0.50; Warnings when compiling net/dbus.el |
Date: |
Tue, 01 Nov 2022 16:39:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Version: 29.1
Stefan Monnier <monnier@iro.umontreal.ca> writes:
Hi Stefan,
> So I think the code requires a top-level (defvar dbus-debug).
Done, pushed to master. I'm closing the bug.
And thanks for the explanation!
> Stefan
Best regards, Michael.
--- End Message ---