Subject: Re: bug#21466: [PATCH] Avoid defining (temporarily) vars and functions

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 26 Mar 2022 17:47:24 +0100

Alan Mackenzie <[email-masked]> writes:

> These explain the "free variable" warnings for the variables and the
> "defined multiple times" warnings for the functions.
>
> To sort out this bug properly, we really need Lisp functions equivalent
> to C's extern.  (defvar foo) and (declare-function 'foo nil) currently
> don't fill this need.

I had a brief look at a couple of the warnings (after the patch), and it
looks like the warnings could be resolved by just removing the
cc-bytecomp-deffun (and rearranging the code order).

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