Re: [fpc-pascal] Generics and Scopes

2016-11-10 Thread Sven Barth
Am 10.11.2016 04:30 schrieb "African Wild Dog" : > > 2016-11-07 14:15 GMT-02:00 Sven Barth : >> >> Am 07.11.2016 15:58 schrieb "African Wild Dog" : >> > It is intended to change such compiler behavior in the future? It is incompatible with Delphi and moreover it force us to break the encapsulation

Re: [fpc-pascal] Generics and Scopes

2016-11-09 Thread African Wild Dog
2016-11-10 1:30 GMT-02:00 African Wild Dog : > 2016-11-07 14:15 GMT-02:00 Sven Barth : > >> Am 07.11.2016 15:58 schrieb "African Wild Dog" : >> > It is intended to change such compiler behavior in the future? It is >> incompatible with Delphi and moreover it force us to break the >> encapsulation

Re: [fpc-pascal] Generics and Scopes

2016-11-09 Thread African Wild Dog
2016-11-07 14:15 GMT-02:00 Sven Barth : > Am 07.11.2016 15:58 schrieb "African Wild Dog" : > > It is intended to change such compiler behavior in the future? It is > incompatible with Delphi and moreover it force us to break the > encapsulation of the Generic types. > > I can't answer this without

Re: [fpc-pascal] Generics and Scopes

2016-11-07 Thread Sven Barth
Am 07.11.2016 15:58 schrieb "African Wild Dog" : > It is intended to change such compiler behavior in the future? It is incompatible with Delphi and moreover it force us to break the encapsulation of the Generic types. I can't answer this without you providing an example that fails. Regards, Sven

Re: [fpc-pascal] Generics and Scopes

2016-11-07 Thread Michael Van Canneyt
On Mon, 7 Nov 2016, African Wild Dog wrote: Hello, I have tried to compile some delphi projects using the latest FPC (3.0.0) release, and i got several errors related to Ggenerics feature. Reading the FPC documentation (section 8.8 - A Word About Scope) i have found that FPC requires that all

[fpc-pascal] Generics and Scopes

2016-11-07 Thread African Wild Dog
Hello, I have tried to compile some delphi projects using the latest FPC (3.0.0) release, and i got several errors related to Ggenerics feature. Reading the FPC documentation (section 8.8 - A Word About Scope) i have found that FPC requires that all external types and procedures used in the the Ge