On 30 Sep 2011, at 16:56, fred f wrote:

I have updated my FPC to SVN from today and when I try to compile my
old code working with 2.5.1 from June writes:

TYPE TByteSet = set of Byte(0)..Byte(7);

Fatal: Syntax error, ";" expected but "(" found

What has changed on syntax for this definition?

PS: I use {$MODE Delphi} switch.

It's the byte() typecasts that trigger the error message, but that's definitely quite a serious bug. Please file a bug report at http://bugs.freepascal.org so it doesn't get forgotten.

Thanks,


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to