[fpc-pascal] LLVM Backend Support

2016-08-18 Thread African Wild Dog
Hello, What is the current status of the LLVM backend support? Best regards ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Free Pascal Foundation Roles and Goals

2016-08-18 Thread African Wild Dog
Hello, >From what i understand, the primary goal of the FPC Foundation is to raise funds to support the FPC and Lazarus development. In the future, the foundation will play another roles like e.g., coordinate and manage FPC and Lazarus projects? Best regards __

[fpc-pascal] FPC 3.0.2 Release Date

2016-08-18 Thread African Wild Dog
Hello, There are some critical bugs in fpc 3.0 which are already fixed. So, why the 3.0.2 version was not released yet? Do you have any estimate about when it will be released? Best regards ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org htt

Re: [fpc-pascal] Compatibility of very similar generic types

2016-08-18 Thread Sven Barth
Am 18.08.2016 15:09 schrieb "Felipe Monteiro de Carvalho" < felipemonteiro.carva...@gmail.com>: > > On Thu, Aug 18, 2016 at 2:44 PM, Sven Barth wrote: > > generic procedure WriteVector_To_DM(ADest: TDataManager; ASelf: > > specialize TVector); > > generic procedure ReadVector_From_DM(AFrom: TDataM

Re: [fpc-pascal] Compatibility of very similar generic types

2016-08-18 Thread Felipe Monteiro de Carvalho
On Thu, Aug 18, 2016 at 2:44 PM, Sven Barth wrote: > generic procedure WriteVector_To_DM(ADest: TDataManager; ASelf: > specialize TVector); > generic procedure ReadVector_From_DM(AFrom: TDataManager; var ASelf: > specialize TVector); > > and use them like this: > > specialize WriteVector_To_DM(...

Re: [fpc-pascal] Compatibility of very similar generic types

2016-08-18 Thread Sven Barth
Am 18.08.2016 10:57 schrieb "Felipe Monteiro de Carvalho" < felipemonteiro.carva...@gmail.com>: > > Hello, > > Consider this: > > TSubClass1 = class(TSomeClass)...; > TSubClass2 = class(TSomeClass)...; > > TSubClass1Vector = specialize TVector; > TSubClass2Vector = specialize TVector; > TSomeClassV

Re: [fpc-pascal] Delegate Interface class does not seem to be referenced counted

2016-08-18 Thread Tony Whyman
On 18/08/16 10:53, Graeme Geldenhuys wrote: I think you are getting confused between TObject and TInterfaceObject instances, and what is required from both. No, the problem is that I could not find a way of achieving what I wanted to achieve. That is ensuring that an interfaced object that used

Re: [fpc-pascal] Delegate Interface class does not seem to be referenced counted

2016-08-18 Thread Graeme Geldenhuys
On 2016-08-10 16:47, Tony Whyman wrote: > You are explicitly freeing MyClass. My point is that with reference > counted interfaces and in the example I posted, you shouldn't have to > explicitly free the delegated interface. It should be freed > automatically as soon as it goes out of scope. Le

[fpc-pascal] Compatibility of very similar generic types

2016-08-18 Thread Felipe Monteiro de Carvalho
Hello, Consider this: TSubClass1 = class(TSomeClass)...; TSubClass2 = class(TSomeClass)...; TSubClass1Vector = specialize TVector; TSubClass2Vector = specialize TVector; TSomeClassVector = specialize TVector; And I want to write a function like: procedure WriteVector_To_DM(ADest: TDataManager;