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
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
> 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