[lazarus] New Bug Entered - lazarus compiled with fpc 1.0.11can\'t open form made with lazarus compiled with 1.9.x

Vincent Snijders vslist at zonnet.nl
Sat Dec 27 13:42:24 EST 2003


On Sat, 27 Dec 2003 15:47:15 +0100
Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:

> On Sat, 27 Dec 2003 09:40:25 -0500 (EST)  bugtracker at miraclec.com
> wrote:
> 
> > 
> > Title: lazarus compiled with fpc 1.0.11 can\'t open form made with
> > lazarus compiled with 1.9.x
> > 
> > Entered by: Vincent Snijders
> > 
> > I have two lazarus executables lazarus.beta compiled with fpc 1.9.1
> > (Compiler Date  : 2003/12/22) and lazarus.release compiled with fpc
> > 1.0.11(Compiler Date  : 2003/12/27)/
> > 
> > With lazarus.beta I create a new project with a new form and on that
> > form I put a groupbox. I save this project.
> > 
> > If I open this project with lazarus.release I get the message:
> > Error while reading Groupbox1.Color : Invalid property value. The
> > property value is clBtnFace. Support for reading and writing such
> > property values have recently been added to fpc 1.9. 
> > 
> > An example in Lazarus: the DebuggerOptionsForm can\'t be opened with
> > lazarus.release.
> 
> 
> Why is this a bug?
> 
> Mattias

Good questtion. I am not sure it is a bug, though IMO it is an unwanted
feature, that lazarus compiled with fpc 1.9 save forms in a format, that
can't be opened (shown) without errors, when compiled with fpc 1.0. 

For the test project above you could say that this project needs fpc 1.9
to compile and you shouldn't expect backward compatibility. If that is
your response, than lazarus from now on needs fpc 1.9.x to compile. You
can compile lazarus with fpc 1.0 without problem, but you can't open the
debugger options dialog.

If I want to be able to use the debugger options dialog, I must use
lazarus compiled with fpc 1.9. In that case can't use fpc 1.0.x to
compile projects, because of Invalid property values. IMO compiling with
fpc 1.0.x is still needed, because fpc 1.9 is still beta and the only
fpc 1.9.x, which can be downloaded as installable package, is fpc 1.9.0,
which has at least one show stopper bug with respect to lazarus. (Can't
create pipe; linuxerror).

Vincent.






More information about the Lazarus mailing list