[Top][All Lists]

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

Re: User-defined record types, v3

From: Clément Pit-Claudel
Subject: Re: User-defined record types, v3
Date: Tue, 4 Apr 2017 08:08:59 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 2017-04-04 03:40, Lars Brinkhoff wrote:
> John Wiegley wrote:
>> LB> John Wiegley has okayed this, so I'm planning to merge this within
>> LB> 24 hours.
>> So it's on the official record, I'll confirm for the list that I did OK
>> this. :)
> It has been pushed.
> I'll reiterate:
>> A full boostrap build (and testsuite run) works fine.  Incremental
>> builds can run into problems with .elc files.  To be on the safe side,
>> I usually rebuild from a clean repository, but just removing all .elc
>> files also seems to work.
> Also, if some .elc file (outside the repository) compiled with the old
> cl-defstruct breaks, there a backward compatibility mode that can be
> enabled:
>     (cl-old-struct-compat-mode 1)
> If there's a need to go beoynd that, I have a patch to bump the version
> of generated .elc files (the number after ;ELC), and enable backward
> compatibility as soon as an old file is loaded.

Is there a way for Lisp programs to read the version tag of an ELC file before 
loading it?


reply via email to

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