On 17 Jun 2012, at 12:08, Florian Klämpfl wrote: > Am 17.06.2012 01:02, schrieb Bernd: >> >> TPurplePluginInfo = packed record > > You should also avoid using packed. FPC usually uses the same alignment > as C on a certain platform does if the types are correctly used.
And if you use {$packrecords c}, then FPC is guaranteed to use the same alignment as C compilers (aka what the platform ABI specifies). Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal