[fpc-pascal] Error: Duplicate identifier "FarPointer"

Jonas Maebe jonas.maebe at elis.ugent.be
Thu May 16 15:04:58 CEST 2013


On 16 May 2013, at 14:46, Reimar Grabowski wrote:

> Same problem here but much funnier FPC message:
>
> Makefile:2704: *** The only supported starting compiler version is
> 2.7.1. You are trying to build with 2.6.2. If you are absolutely sure
> that the current compiler is built from the exact same
> version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to
> override .  Stop.
>
> So I had to use OVERRIDEVERSIONCHECK=1 to build my 2.7.1 with 2.6.2.  
> IMHO that's not as intended.
> But it may be a problem of the create_fpc_deb script provided by  
> Lazarus so from my side there is no need for any actions.
> Just wanted to share that funny message.

It is indeed a bug in Lazarus' build scripts (also for the rpms). For  
some reason they first replace a bunch of version numbers in the  
Makefile.


Jonas



More information about the fpc-pascal mailing list