On Tue, Jul 22, 2014 at 5:14 AM, Marco van de Voort <[email protected]> wrote:

> In our previous episode, Gennady Agranov said:
> > I am new to FPC, but I do like it - thanks!
> >
> > We are trying to switch from Delphi to FPC, but I am stuck with the
> > following issue - in Delphi you can cast "set" to "integer" and get it
> > back later - again by casting. In our case it is used for persistence
> > purposes.
>
> Good. And afaik in Delphi mode this works too in FPC? Did you test?
>

casting integer to set does not compile in FPC - and yes - I use Delphi
mode :(

>
> > And what actually -CPPACKSET=0 does - documentation is not clear - at
> > least for me :)
>
> The $PACKSET directive takes a numeric argument of 1, 2, 4 or 8.
>
>     if you run fpc without parameters you get following:

      -CP<x>=<y>  packing settings
         -CPPACKSET=<y> <y> set allocation: 0, 1 or DEFAULT or NORMAL, 2, 4
and 8

I wonder what 0 means - thanks!

Not mentioned in the documentation means undefined.
> _______________________________________________
> fpc-devel maillist  -  [email protected]
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to