Thanks to all who responded. I forgot this time to not use a precompiled library, I usually now try not to use one by habit but I overlooked this.
Regards
Chris Saunders
From: Paul Bates
Sent: Tuesday, June 16, 2009 4:52 PM
To:
[hidden email]
Subject: [eiffel_software] Re: Don't understand this error
Typically this is because you reference the safe version of Eiffel Base but are still using the unsafe version of a precompiled library.
Paul.
--- In
[hidden email], "Chris Saunders" <evas@...> wrote:
>
> I have just started a project and have not added any of my own code yet. Here are the changes I have made to the project settings: Are types attached by default" - True, Void safety - Complete void safty, Syntax - Standard syntax. I have also selected the void safe base library. When I attempt to compile I get this error:
>
> 4 Syntax Error: Syntax error at line 537. MANAGED_POINTER (elks) 537, 27
> Syntax error at line 537 in class MANAGED_POINTER
> Specified type "NATURAL_16" is not a valid type for integer constant "0x00FF"
>
> else
> l_low := {NATURAL_16} 0x00FF & read_natural_8 (pos)
> --------------------------------------^
> l_high := read_natural_8 (pos + natural_8_bytes)
>
> Is there something faulty in my project settings?
>
> Regards
> Chris Saunders
>
> [Non-text portions of this message have been removed]
>
[Non-text portions of this message have been removed]