Re: [fpc-pascal] Requirement of {$M+} to add RTTI info

2012-12-12 Thread luiz americo pereira camara
2012/12/12 Sven Barth : > Am 12.12.2012 01:15 schrieb "luiz americo pereira camara" > : > > >> >> Some time ago, i was getting an error while trying to use RTTI >> functions in a class descending directly of TObject >> >> Later i discovered that i needed to descend from TPersistent due to >> $M+ di

Re: [fpc-pascal] Requirement of {$M+} to add RTTI info

2012-12-12 Thread Sven Barth
Am 12.12.2012 01:15 schrieb "luiz americo pereira camara" : > > Some time ago, i was getting an error while trying to use RTTI > functions in a class descending directly of TObject > > Later i discovered that i needed to descend from TPersistent due to > $M+ directive (http://www.freepascal.org/doc

[fpc-pascal] Requirement of {$M+} to add RTTI info

2012-12-11 Thread luiz americo pereira camara
Some time ago, i was getting an error while trying to use RTTI functions in a class descending directly of TObject Later i discovered that i needed to descend from TPersistent due to $M+ directive (http://www.freepascal.org/docs-html/prog/progsu44.html), so i did. Now, i decided to go back and de