[Lazarus] It is a beautiful day...

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Aug 11 13:12:12 CEST 2019


On Sun, 11 Aug 2019 12:54:48 +0200
Ondrej Pokorny via lazarus <lazarus at lists.lazarus-ide.org> wrote:

> On 11.08.2019 12:23, Mattias Gaertner via lazarus wrote:
> >> I suggest to fix the old file format without
> >> backwards-compatibility: <BuildModes Count="2"/>
> >>             <Mode1 Name="Debug" Compile="True"/>
> >>             <Mode2 Name="Release"/>
> >>           </BuildModes>
> >>
> >> That would mean that the Compile flags for build modes get lost and
> >> the user must set them again. Are you fine with it? (Well, I am
> >> fine with that.)  
> > I guess with a few lines of code you can read the old format and set
> > the "Compile" flag.  
> 
> The issue is that the new format is done with forwards-compatibility
> so that people can decide if they want to open the new file in an
> older Lazarus version. (The projects have the "Maximize compatibility
> of project files" option for this.)

That an old Lazarus cannot read completely the new format is an
incompatibility I can live with, if it is documented.

Mattias


More information about the lazarus mailing list