[fpc-pascal] Postgresql interface bronken for Raspberry pi model 1b

2016-03-27 Thread Björn Lundin
Hi! I'm using a pi as a monitor for some process, so I'm trying to get SDL2 and a working postgres interface on it. However I'm running into trouble on timestamps fields on the pi. I wrote a console program on Win7, using 32-bit compiler bundled with Lazarus 1.6. (I think is is fpc 3.0.0) and tha

Re: [fpc-pascal] TPersistent overhead

2016-03-27 Thread Ryan Joseph
Good idea thanks. > On Mar 27, 2016, at 5:00 PM, fpc-pascal-requ...@lists.freepascal.org wrote: > > Depending on your needs, you don't need to descend from TPersistent just > to get RTTI information in your classes. Simply wrap a TObject > descendant with {$M+} and deactivate the RTTI after the c

Re: [fpc-pascal] TPersistent overhead

2016-03-27 Thread Michael Van Canneyt
On Sun, 27 Mar 2016, Ryan Joseph wrote: Great, thanks Michael. I had another idea. Is it really required to subclass TPersistent for RTTI information or can I just use {$M+} on the units that I need and leave the class hierarchy the same? Using {$M+} For classes that need RTTI is suffic