[fpc-pascal] Absolute

Florian Klaempfl florian at freepascal.org
Thu Mar 3 10:11:12 CET 2005


Carsten Bager wrote:

> Hi
> I have a problem with the following when I try to compile it
> with the ppcrossarm compiler. This error dos not show when
> I am doing a normal compile.
> I have tried with version 1.9.4 and 1.9.9
> Carsten
> 
> 
> --------------
> Program bb;
> 
> var
>   test:integer absolute 0030;
> 
> Begin
> End.
> ---------------
> 
>> >
> bb.pas(4.23) Error: absolute can only be associated with a var or const

Try with -S2; however I'am not sure if arm/linux supports "const" absolutes.

> 
> --
> graphic
> 
> *Carsten Bager*
> Bøvlingbjerg El-automatik
> Brørupvænget 10
> 7650 Bøvlingbjerg
> Tlf. +4597885222 Fax +4597885434
> *www.beas.dk*
> 
> 
> ------------------------------------------------------------------------
> 
> The following section of this message contains a file attachment
> prepared for transmission using the Internet MIME message format.
> If you are using Pegasus Mail, or any other MIME-compliant system,
> you should be able to save it or view it from within your mailer.
> If you cannot, please ask your system administrator for assistance.
> 
>    ---- File information -----------
>      File:  Beas_Logo_1cm.bmp
>      Date:  4 May 2004, 12:14
>      Size:  15720 bytes.
>      Type:  Unknown
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal





More information about the fpc-pascal mailing list