In Delphi 5,
var
G : TAutoRefreshFlag;
//where type TAutoRefreshFlag = (arNone, arAutoInc, arDefault);sizeof(G) returns 1
in FPC
if defined
type TAutoRefreshFlag = (arNone, arAutoInc, arDefault);and same
Var G : TAutoRefreshFlag;sizeof(G) returns 4.
This different behaviour break some code when I port them from Delphi 5 to FPC.
Is there a compiler directive I can do to ensure compatibility?
Dennis
