Re: [fpc-pascal] For .. in .. loops with sets and valued enums

2015-06-19 Thread Peter
On 19/06/15 08:46, Torsten Bonde Christiansen wrote: > program Project1; > > type > TMyEnum = ( > a = 1, > b = 3, > c = 5 > ); > TMySet = set of TMyEnum; > var > Item: TMyEnum; > > begin > for Item in TMySet do > Writeln('Value = ', Integer(Item)); > end. My guess is that

[fpc-pascal] For .. in .. loops with sets and valued enums

2015-06-19 Thread Torsten Bonde Christiansen
Consider the following program: program Project1; type TMyEnum = ( a = 1, b = 3, c = 5 ); TMySet = set of TMyEnum; var Item: TMyEnum; begin for Item in TMySet do Writeln('Value = ', Integer(Item)); end. I would expect the output of the program to contain the values 1

Re: [fpc-pascal] FPC ARMEL and ARMHF under the same tree

2015-06-19 Thread leledumbo
> I didn't continue yet because I'am not sure if subarch-abi are sufficient or if another directory > level with e.g. fpu type, custom options (debugging info, optimization > level etc.) might be useful. > Or if it would be only over engineering ... fpcmkcfg already generates $fpcsubarch-$fpcme