[fpc-devel] Can't build FPC what can be a reason?

Paul Ishenin ip at kmiac.ru
Fri Apr 22 07:02:23 CEST 2011


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.

Best regards,
Paul Ishenin.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bigset.patch
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110422/030ad0d6/attachment.ksh>


More information about the fpc-devel mailing list