[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Correct byte compiler error/warning positions. The solution!
From: |
Robert Pluim |
Subject: |
Re: Correct byte compiler error/warning positions. The solution! |
Date: |
Tue, 30 Nov 2021 10:52:40 +0100 |
>>>>> On Mon, 29 Nov 2021 19:16:26 +0000, Alan Mackenzie <acm@muc.de> said:
Alan> Yes. I think the patch below will fix this.
Alan> I must admit, I didn't know about --enable-check-lisp-object-type.
When
Alan> I tried it out with the fixed lisp_h_EQ, I got lots of other warnings.
Alan> But this option generates slower code. On a 20 second benchmark, the
Alan> code was ~0.5s slower than when compiled without the option. This
Alan> probably shouldn't happen, and I don't know why it does.
Itʼs a mandatory option to test when making changes to lisp object
representation, but you wouldnʼt use it in production, so it doesnʼt
matter if itʼs slightly slower.
Alan> I need to tidy up the backslashes too.
Alan> Anyhow, here's the patch which at least keeps the compiler messages as
Alan> warnings:
Iʼm not getting any warnings at all with that patch, and the resulting
Emacs seems to work ok.
Robert
--
- Re: Correct byte compiler error/warning positions. The solution!, (continued)
- Re: Correct byte compiler error/warning positions. The solution!, Eli Zaretskii, 2021/11/27
- Re: Correct byte compiler error/warning positions. The solution!, Alan Mackenzie, 2021/11/27
- Re: Correct byte compiler error/warning positions. The solution!, Eli Zaretskii, 2021/11/27
- Re: Correct byte compiler error/warning positions. The solution!, Alan Mackenzie, 2021/11/27
- Re: Correct byte compiler error/warning positions. The solution!, Eli Zaretskii, 2021/11/28
- Re: Correct byte compiler error/warning positions. The solution!, Alan Mackenzie, 2021/11/29
- Re: Correct byte compiler error/warning positions. The solution!, Eli Zaretskii, 2021/11/29
- Re: Correct byte compiler error/warning positions. The solution!, Alan Mackenzie, 2021/11/29
- Re: Correct byte compiler error/warning positions. The solution!, Robert Pluim, 2021/11/29
- Re: Correct byte compiler error/warning positions. The solution!, Alan Mackenzie, 2021/11/29
- Re: Correct byte compiler error/warning positions. The solution!,
Robert Pluim <=
- Re: Correct byte compiler error/warning positions. The solution!, Andrea Corallo, 2021/11/28