Am 30.12.2013 20:08 schrieb "Marcos Douglas" <[email protected]>: > > Hi, > > I'm using FPC 2.6.2 and {advancedrecords}. > The compiler shows a warning when I use a record variable. IMO this is > a bug because record variables need not be initialized, right?
Managed types (strings, interfaces, dynamic arrays) inside a record will have a valid value (Nil), but other values will he garbage. The compiler does not check whether a record contains any non-managed fields before generating the warning. Regards, Sven
_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
