[lazarus] directive NEW1_1
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Sep 13 05:36:11 EDT 2003
On Sat, 13 Sep 2003 10:59:00 +0200
Vincent Snijders <vslist at zonnet.nl> wrote:
> On Sat, 13 Sep 2003 09:48:23 +0200
> Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
>
> > On Sat, 13 Sep 2003 00:21:29 +0200
> > "o2" <madarzoo at o2.pl> wrote:
> >
> > > I compile LCL under FCP 1.1 and I found bug in utrace.pp
> > > there is
> > >
> > > {$IFDEF NEW1_1}Pointer{$ELSE}Longint{$ENDIF})
> > >
> > > I don't now why, I must change this to:
> > >
> > >
> > > {$IFDEF VER1_1}Pointer{$ELSE}Longint{$ENDIF});
> >
> >
> > Show me a working 1.1 and I will change it.
> > The last fpc 1.1, that worked with lazarus, can be found on the
> > website. For the brave, trying the current fpc 1.1, there is the
> > NEW1_1 contruction. Add-dNEW1_1 to the options to compile the LCL.
>
> Just a question to clear up something for myself: Does the
> fpc 1.1 on the website define VER1_1? I supose it doesn't, and that it
> defines NEW1_1 instead. Otherwise I see no reason not to change NEW1_1
> to VER1_1.
All 1.1 define VER1_1 and not NEW1_1.
The declaration of AssertErrorProc changed. It's longint in 1.0, longint in
the old 1.1 and pointer in the current 1.1.
> The last time I tried, compiling fpc 1.1 went fine, compiling lazarus
> (+ everything) failed in synedit, the compiler couldn't parse some
> booleab expression.
Mattias
More information about the Lazarus
mailing list