[fpc-devel] Can't build FPC what can be a reason?
Jonas Maebe
jonas.maebe at elis.ugent.be
Mon Apr 25 17:31:11 CEST 2011
On 22 Apr 2011, at 07:02, Paul Ishenin wrote:
> 20.04.2011 16:39, Jonas Maebe wrote:
>
>> It's a bug in the compiler that it accepts that set constant declaration. Sets are only allowed to contain values up to ord(255). Anything more is not supported, although things may work at the code generation level depending on how the set is used and how many elements it has.
>
> For delphi mode there was a trick in the compiler to work with sets built on big enumeartions. For other modes it worked by accident I suppose.
>
> I attached a patch. Please review and commit it. With this patch compiler finally builds here without errors.
I think it's ok, feel free to commit.
Jonas
More information about the fpc-devel
mailing list