[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to tame compiler?
From: |
Jean Louis |
Subject: |
How to tame compiler? |
Date: |
Thu, 22 Apr 2021 17:43:27 +0300 |
As I have recently implemented new function that use `eval' to expand
various variables and these variables are not visibly used in the
program, I would like to tame the compiler, as I get these warnings:
In rcd-send-email:
rcd-mailing.el:225:62: Warning: Unused lexical variable `unsubscribe-url'
rcd-mailing.el:231:21: Warning: Unused lexical variable `hello-name'
rcd-mailing.el:234:72: Warning: Unused lexical variable `unsubscribe-text'
rcd-mailing.el:252:11: Warning: Unused lexical variable `body'
What is happening here is that those variables are used but inside of
`eval' form which is expanded dynamically when program runs. Compiler
cannot see that.
Is there a way to avoid these warnings?
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
https://rms-support-letter.github.io/
- How to tame compiler?,
Jean Louis <=
- Re: How to tame compiler?, Stefan Monnier, 2021/04/22
- Re: How to tame compiler?, Jean Louis, 2021/04/22
- Re: How to tame compiler?, Jean Louis, 2021/04/22
- Re: How to tame compiler?, Jorge P . de Morais Neto, 2021/04/30
- rcd-template-eval - was Re: How to tame compiler?, Jean Louis, 2021/04/30
- rcd-template-eval, much is in Org mode, Jean Louis, 2021/04/30
- Re: rcd-template-eval, much is in Org mode, Tassilo Horn, 2021/04/30
- Re: rcd-template-eval, much is in Org mode, Emanuel Berg, 2021/04/30
- Org mode rant, Jean Louis, 2021/04/30
- Re: Org mode rant, Emanuel Berg, 2021/04/30