GNU bug report logs - #59459
29.0.50; Compilation warnings without tree-sitter

Previous Next

Package: emacs;

Reported by: Yuan Fu <casouri <at> gmail.com>

Date: Mon, 21 Nov 2022 22:02:02 UTC

Severity: normal

Found in version 29.0.50

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Yuan Fu <casouri <at> gmail.com>
To: Bug Report Emacs <bug-gnu-emacs <at> gnu.org>
Subject: 29.0.50; Compilation warnings without tree-sitter
Date: Mon, 21 Nov 2022 14:01:14 -0800
[Continuing from bug#59426]

Those warnings are due to no-tree-sitter build not having functions
defined in treesit.c. Eli fixed those warnings by adding
declare-function’s in every file using those functions. Can we make it a
bit nicer for lisp developers? Maybe defining those functions with
dummies with something like

(defun xxx
(error ’treesit "Tree-sitter not available"))

?

Yuan



This bug report was last modified 2 years and 274 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.