Re: [fpc-devel] When will the next version of FPC be released?

2019-12-01 Thread Florian Klämpfl
Am 30.11.19 um 20:41 schrieb J. Gareth Moreton: My programming buddy has been asking me this question as well, and I can only say "I don't know".  Do we have a release candidate though? No. https://bugs.freepascal.org/roadmap_page.php has still open entries. On 30/11/2019 13:04, Marco van

Re: [fpc-devel] When will the next version of FPC be released?

2019-11-30 Thread J. Gareth Moreton
My programming buddy has been asking me this question as well, and I can only say "I don't know".  Do we have a release candidate though? On 30/11/2019 13:04, Marco van de Voort wrote: Op 2019-11-30 om 09:29 schreef Gabor Boros: 2019. 05. 30. 9:05 keltezéssel, Michael Van Canneyt írta: I

Re: [fpc-devel] When will the next version of FPC be released?

2019-11-30 Thread Marco van de Voort
Op 2019-11-30 om 09:29 schreef Gabor Boros: 2019. 05. 30. 9:05 keltezéssel, Michael Van Canneyt írta: I would not count on it before september, and even that is "iffy". Any news/update in this subject? The fixes_3_2 branch created more than a year ago and the latest stable (3.0.4) released

Re: [fpc-devel] When will the next version of FPC be released?

2019-11-30 Thread Gabor Boros
2019. 05. 30. 9:05 keltezéssel, Michael Van Canneyt írta: I would not count on it before september, and even that is "iffy". Any news/update in this subject? The fixes_3_2 branch created more than a year ago and the latest stable (3.0.4) released 2 years ago. Gabor

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-02 Thread Ryan Joseph
> On Jun 2, 2019, at 4:36 PM, Sven Barth via fpc-devel > wrote: > > Am 02.06.2019 um 16:39 schrieb Ryan Joseph: >> I just tried to declare these 2 procedures in 3.3.1 and got an error. You >> can declare them in the reverse order with no problem. A bug? >> >> generic procedure DoThis(msg:

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-02 Thread Sven Barth via fpc-devel
Am 02.06.2019 um 16:39 schrieb Ryan Joseph: I just tried to declare these 2 procedures in 3.3.1 and got an error. You can declare them in the reverse order with no problem. A bug? generic procedure DoThis(msg: T); begin end; procedure DoThis(msg: TObject); // Overloaded identifier "DoThis"

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-02 Thread Ryan Joseph
I just tried to declare these 2 procedures in 3.3.1 and got an error. You can declare them in the reverse order with no problem. A bug? generic procedure DoThis(msg: T); begin end; procedure DoThis(msg: TObject); // Overloaded identifier "DoThis" isn't a function begin end; Regards,

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-02 Thread Michael Van Canneyt
On Sat, 1 Jun 2019, Ben Grasset wrote: On Sat, Jun 1, 2019 at 10:58 AM Sven Barth via fpc-devel < fpc-devel@lists.freepascal.org> wrote: I personally consider it a worthwhile addition. What version did Delphi add that in? I honestly had no idea it was a thing. Makes it seem especially

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-02 Thread Sven Barth via fpc-devel
Ben Grasset schrieb am Sa., 1. Juni 2019, 22:49: > On Sat, Jun 1, 2019 at 10:58 AM Sven Barth via fpc-devel < > fpc-devel@lists.freepascal.org> wrote: > >> I personally consider it a worthwhile addition. >> > > What version did Delphi add that in? I honestly had no idea it was a thing. > I

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-02 Thread Ryan Joseph
> On Jun 1, 2019, at 6:00 AM, Michael Van Canneyt > wrote: > > I don't think this syntax is a good idea. > > What with overloads ? > > Procedure MyProc(a:T); > Procedure MyProc(a : TObject); Currently the non-generic gets called in this situation. That’s because non-generic procedures

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread J. Gareth Moreton
I would personally consider this a compiler error because there's too much ambiguity and assumption involved when choosing one over the other. In my eyes, the correct choice is too unclear. Gareth aka. Kit On Sat 01/06/19 21:41 , Ben Grasset operato...@gmail.com sent: > On Sat, Jun 1, 2019

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread Ben Grasset
On Sat, Jun 1, 2019 at 10:58 AM Sven Barth via fpc-devel < fpc-devel@lists.freepascal.org> wrote: > I personally consider it a worthwhile addition. > What version did Delphi add that in? I honestly had no idea it was a thing. Makes it seem especially strange that they still don't have

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread Ben Grasset
On Sat, Jun 1, 2019 at 6:00 AM Michael Van Canneyt wrote: > I don't think this syntax is a good idea. > > What with overloads ? > > Procedure MyProc(a:T); > Procedure MyProc(a : TObject); > > How do I know which one will be called ? > I think it would have to work like: if something is a

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread Michael Van Canneyt
On Sat, 1 Jun 2019, Sven Barth via fpc-devel wrote: Michael Van Canneyt schrieb am Sa., 1. Juni 2019, 14:13: On Sat, 1 Jun 2019, Sven Barth via fpc-devel wrote: specialize ClearMem(pt); With implicit specialization: ClearMem(pt); // :) I don't think this syntax is a good

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread Sven Barth via fpc-devel
Michael Van Canneyt schrieb am Sa., 1. Juni 2019, 14:13: > > > On Sat, 1 Jun 2019, Sven Barth via fpc-devel wrote: > > >>> > >>> specialize ClearMem(pt); > >>> > >>> With implicit specialization: > >>> > >>> ClearMem(pt); // :) > >> > >> I don't think this syntax is a good idea. > >> > > >

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread Martok
>> Really ? >> I wonder what kind of code you write to make this 'super buggy' statement. >> >> I myself write lots of code, and never encountered an issue. >> But then, I normally don't use dubious constructs to begin with. > In fact, we already have several bug reports related to

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread Michael Van Canneyt
On Sat, 1 Jun 2019, denisgolovan wrote: Really ? I wonder what kind of code you write to make this 'super buggy' statement. I myself write lots of code, and never encountered an issue. But then, I normally don't use dubious constructs to begin with. In general of course I agree 100% with

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread Michael Van Canneyt
On Sat, 1 Jun 2019, Sven Barth via fpc-devel wrote: specialize ClearMem(pt); With implicit specialization: ClearMem(pt); // :) I don't think this syntax is a good idea. It's required for Delphi compatibility. Indeed. It gets worse by the day :( Michael.

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread Sven Barth via fpc-devel
Michael Van Canneyt schrieb am Sa., 1. Juni 2019, 12:00: > > > On Fri, 31 May 2019, Ryan Joseph wrote: > > > > > > >> On May 30, 2019, at 4:18 PM, Ryan Joseph > wrote: > >> > >> I didn’t realize generic functions were in the trunk. I’m not sure I > got this implemented properly so it requires

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread denisgolovan
> Really ? > I wonder what kind of code you write to make this 'super buggy' statement. > > I myself write lots of code, and never encountered an issue. > But then, I normally don't use dubious constructs to begin with. > > In general of course I agree 100% with your statement that we need a

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread Michael Van Canneyt
On Sat, 1 Jun 2019, Martok wrote: What with overloads ? Procedure MyProc(a:T); Procedure MyProc(a : TObject); How do I know which one will be called ? Once again: FPC needs a defined method resolution order, *and stick with it*. The current ad-hoc inheritance/typeconv/:=

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread Martok
> What with overloads ? > > Procedure MyProc(a:T); > Procedure MyProc(a : TObject); > > How do I know which one will be called ? Once again: FPC needs a defined method resolution order, *and stick with it*. The current ad-hoc inheritance/typeconv/:= overload/overload/operator overload mess is

Re: [fpc-devel] When will the next version of FPC be released?

2019-06-01 Thread Michael Van Canneyt
On Fri, 31 May 2019, Ryan Joseph wrote: On May 30, 2019, at 4:18 PM, Ryan Joseph wrote: I didn’t realize generic functions were in the trunk. I’m not sure I got this implemented properly so it requires some code review but can we try to include “implicitfunctionspecialization” mode

Re: [fpc-devel] When will the next version of FPC be released?

2019-05-31 Thread J. Gareth Moreton
Now I can see how that can be very useful, and certainly a lot cleaner and less error-prone.  I do wonder what it will do in regards to suppressing that annoying "uninitialized variable" warning though when passing said variable into FillChar to, you know, actually initialise it! Admittedly,

Re: [fpc-devel] When will the next version of FPC be released?

2019-05-31 Thread Marco van de Voort
Op 2019-05-31 om 18:36 schreef Alexander Grotewohl: can't you just use an untyped parameter in a clearmem procedure you make yourself? procedure ClearMem(var m); You don't get size that way, and you have to pass it separately (see e.g. blockread/write). It was one of the setbacks when I

Re: [fpc-devel] When will the next version of FPC be released?

2019-05-31 Thread Alexander Grotewohl
can't you just use an untyped parameter in a clearmem procedure you make yourself?procedure ClearMem(var m);--Alexander Grotewohlhttp://dcclost.com___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] When will the next version of FPC be released?

2019-05-31 Thread Ryan Joseph
> On May 30, 2019, at 4:18 PM, Ryan Joseph wrote: > > I didn’t realize generic functions were in the trunk. I’m not sure I got this > implemented properly so it requires some code review but can we try to > include “implicitfunctionspecialization” mode switch in the next release > along the

Re: [fpc-devel] When will the next version of FPC be released?

2019-05-30 Thread Michael Van Canneyt
On Thu, 30 May 2019, Marco van de Voort wrote: Op 2019-05-30 om 11:43 schreef Michael Van Canneyt: The branch has been made, I am slowly bringing the documentation up-to-date, Speaking of which, I enabled unit bufdatatset in the FCL docs yesterday. I thought the stale references were a

Re: [fpc-devel] When will the next version of FPC be released?

2019-05-30 Thread Marco van de Voort
Op 2019-05-30 om 11:43 schreef Michael Van Canneyt: The branch has been made, I am slowly bringing the documentation up-to-date, Speaking of which, I enabled unit bufdatatset in the FCL docs yesterday. I thought the stale references were a bug in fpdoc/chm, turned out the unit was simply

Re: [fpc-devel] When will the next version of FPC be released?

2019-05-30 Thread Michael Van Canneyt
On Thu, 30 May 2019, Marco van de Voort wrote: Op 2019-05-30 om 09:05 schreef Michael Van Canneyt: The branch has been made, I am slowly bringing the documentation up-to-date, Speaking of which, I enabled unit bufdatatset in the FCL docs yesterday. I thought the stale references were a

Re: [fpc-devel] When will the next version of FPC be released?

2019-05-30 Thread Marco van de Voort
Op 2019-05-30 om 09:05 schreef Michael Van Canneyt: The branch has been made, I am slowly bringing the documentation up-to-date, Speaking of which, I enabled unit bufdatatset in the FCL docs yesterday. I thought the stale references were a bug in fpdoc/chm, turned out the unit was simply

Re: [fpc-devel] When will the next version of FPC be released?

2019-05-30 Thread Michael Van Canneyt
On Thu, 30 May 2019, J. Gareth Moreton wrote: Hi everyone, This might not be the best place to ask, but my programming buddy keeps bugging me about it, since he wants access to generic functions and the volatile intrinsic.  When will the next version of FPC be officially released? No

[fpc-devel] When will the next version of FPC be released?

2019-05-29 Thread J. Gareth Moreton
Hi everyone, This might not be the best place to ask, but my programming buddy keeps bugging me about it, since he wants access to generic functions and the volatile intrinsic.  When will the next version of FPC be officially released? Gareth aka. Kit --- This email has been checked for