[fpc-pascal]Error Making CVS version of compiler

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 19 03:23:14 CET 2004


On Wed, 18 Feb 2004 09:06:51 +0100 (CET)  xhajt03 at vol.cz wrote:

> From:       "Matt Henley" <mhenley at houston.rr.com>
> To:         fpc-pascal at lists.freepascal.org
> Subject:    [fpc-pascal]Error Making CVS version of compiler
> Date sent:  Tue, 17 Feb 2004 20:06:49 -0600
> 
>  .
>  .
> > /usr/local/bin/ppc386 -Ur -Xs -OG2p3 -n -Fi../inc
> > -Fi../i386 -Fi../unix
> > -Fii386 -FE. -di386 -dRELEASE ../unix/dos.pp
> > dos.pp(227,1) Fatal: Syntax error, "BEGIN" expected but
> > "identifier
> > THREADVAR" found
> > make[3]: *** [dos.ppu] Error 1
> > make[3]: Leaving directory
> > `/home/matt/fpc/fpc/rtl/linux'
> > make[2]: *** [cycle] Error 2
>  .
>  .
> 
> First of all, there's been an error in CVS, but this has been
> fixed in between. However, you'll probably have to start cycling
> with a 1.0.10 compiler. This is a general rule - if cycling
> doesn't work with the snapshot, try to start with the latest
> official _release_ version (not beta!) - this rule should be
> added to the build FAQ probably.

I don't want to critize you, but I think, a 1.9.3 should be able to compile
a newer 1.9.3. If not, then it's time to increase the version number.

In this case the rtl/unix/dos.pp contains some lines, that look suspicious
to me:

{$ifdef HASTHREADVAR}
{$ifdef VER1_9_2}
var
{$else VER1_9_2}
threadvar
{$endif VER1_9_2}
{$else HASTHREADVAR}
var
{$endif HASTHREADVAR}


Mattias




More information about the fpc-pascal mailing list