emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ./configure --enable-check-lisp-object-type


From: Lars Ingebrigtsen
Subject: Re: ./configure --enable-check-lisp-object-type
Date: Tue, 12 Apr 2022 20:40:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> And if you build without --enable-check-lisp-object-type, does it
> compile cleanly with the additional braces?

Ah, no:

alloc.c:7847:8: warning: braces around scalar initializer
 7847 |        4, 4, "watch_gc_cons_percentage", {0}, {0}}};
      |        ^


And similarly, the braces in DEFUN leads to:

xmenu.c:2773:1: note: in expansion of macro 'DEFUN'
 2773 | DEFUN ("menu-or-popup-active-p", Fmenu_or_popup_active_p, 
Smenu_or_popup_active_p, 0, 0, 0,
      | ^~~~~
lisp.h:3178:16: note: (near initialization for 
'Smenu_or_popup_active_p.s.command_modes')

in a non-enable-check build.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]