[Top][All Lists]

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

Re: Towards a cleaner build

From: Stefan Monnier
Subject: Re: Towards a cleaner build
Date: Mon, 10 Jun 2019 09:36:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> Oooh.  Huh.  Isn't that...  a bug?  :-)  I mean -- the reference to the
> variable isn't in the compiled code, so shouldn't the analysis catch
> that and still warn about the variable?

That's the usual tension with warnings: OT1H you want warnings to be
about the source code rather than about the compiled/optimized code, but
then you also don't want warning about things which the programmer knows
will be optimized away (e.g. within a (featurep 'xemacs) branch), so
ordering of "warning-detection" and optimization phases is
sometimes delicate.  For `ignore` things just happen to work.


reply via email to

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