Re: [fpc-pascal] Duplicate RTLs

2015-07-02 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Adriaan van Os said: Marco van de Voort wrote: Also RTTI like class info (not used over typinfo unit) like IS, AS, .InheritsFrom? IOW Objecttype identity operations. Thanks for the info. I suggest to document this somewhere. But I am not (in

Re: [fpc-pascal] Duplicate RTLs

2015-07-02 Thread Marco van de Voort
In our previous episode, Adriaan van Os said: > Marco van de Voort wrote: > > Also RTTI like class info (not used over typinfo unit) like IS, AS, > > .InheritsFrom? > > IOW Objecttype identity operations. > > Thanks for the info. I suggest to document this somewhere. But I am not > (in my own cod

Re: [fpc-pascal] Duplicate RTLs

2015-07-01 Thread Sven Barth
Am 01.07.2015 21:40 schrieb "Marco van de Voort" : > > In our previous episode, Sven Barth said: > > exception class), anything involving global variables (either > > implementation or interface) in units that exist both in the library and in > > the program. > > > > Not to mention RTTI (basically

Re: [fpc-pascal] Duplicate RTLs

2015-07-01 Thread Adriaan van Os
Marco van de Voort wrote: Also RTTI like class info (not used over typinfo unit) like IS, AS, .InheritsFrom? IOW Objecttype identity operations. Thanks for the info. I suggest to document this somewhere. But I am not (in my own code projects) using RTTI, class info, FPC memory allocation, ref

Re: [fpc-pascal] Duplicate RTLs

2015-07-01 Thread Marco van de Voort
In our previous episode, Sven Barth said: > exception class), anything involving global variables (either > implementation or interface) in units that exist both in the library and in > the program. > > Not to mention RTTI (basically a superset of the "exception handling" case > mentioned by Jonas

Re: [fpc-pascal] Duplicate RTLs

2015-07-01 Thread Sven Barth
Am 01.07.2015 16:21 schrieb "Jonas Maebe" : > > > Adriaan van Os wrote on Wed, 01 Jul 2015: > >> Jonas Maebe wrote: >> >>> This is currently quite hard with FPC, as every library compiled with FPC contains its own RTL and hence does not share the RTL state with the applications that use it. To solv

Re: [fpc-pascal] Duplicate RTLs

2015-07-01 Thread Jonas Maebe
Adriaan van Os wrote on Wed, 01 Jul 2015: Jonas Maebe wrote: This is currently quite hard with FPC, as every library compiled with FPC contains its own RTL and hence does not share the RTL state with the applications that use it. To solve that, you need Delphi-style dynamic packages supp

[fpc-pascal] Duplicate RTLs

2015-07-01 Thread Adriaan van Os
Jonas Maebe wrote: This is currently quite hard with FPC, as every library compiled with FPC contains its own RTL and hence does not share the RTL state with the applications that use it. To solve that, you need Delphi-style dynamic packages support, which Sven is working on. Where is sharin