Am 09.03.2015 um 14:36 schrieb bla...@blaise.ru:
FPC trunk r30150, compiled with EXTDEBUG, emits a debug warning for
the following program:
--8--
type T = interface
procedure Bar;
end;
function Foo: T;
begin
result := nil
end;
begin
Foo().Bar()
// ^--
On 09 Mar 2015, at 14:36, bla...@blaise.ru wrote:
On 15.01.2012 18:26, Blaise Thorn wrote:
I have implemented the support for the Delphi-compatible non-
generic closures.
I am ready to commit the improved (and fully compilable) version.
Per Jonas Maebe's suggestion, I am going to create a
On 10.03.2015 15:47, Jonas Maebe wrote:
Do you already have an svn account?
The one I had back in 2012.
My old branch is here:
http://svn.freepascal.org/svn/fpc/branches/blaise/closures
It indicates a problem in the compiler.
Thanks.
Shall I file it in the bug tracker, then?
As the
On 10 Mar 2015, at 14:29, bla...@blaise.ru wrote:
On 10.03.2015 15:47, Jonas Maebe wrote:
Do you already have an svn account?
The one I had back in 2012.
My old branch is here:
http://svn.freepascal.org/svn/fpc/branches/blaise/closures
You should still have access to everything under
On 10.03.2015 15:09, Hans-Peter Diettrich wrote:
I'd assume that the warning refers to result := nil in Foo().
Wrong. And the comment clearly indicates to which line it refers.
This happens because of the call chaining.
--
βþ
___
fpc-devel maillist
On Wed, 4 Mar 2015 17:32:41 +0100
Mattias Gaertner nc-gaert...@netcologne.de wrote:
On Wed, 4 Mar 2015 16:41:23 +0100
Sven Barth pascaldra...@googlemail.com wrote:
[...]
In theory: by compiling the RTL with -dFPC_USE_LIBC.
[...]
My outstanding commit fixes this.
Outstanding! :)
Now
On 10.03.2015 18:46, Mattias Gaertner wrote:
On Wed, 4 Mar 2015 17:32:41 +0100
Mattias Gaertner nc-gaert...@netcologne.de wrote:
On Wed, 4 Mar 2015 16:41:23 +0100
Sven Barth pascaldra...@googlemail.com wrote:
[...]
In theory: by compiling the RTL with -dFPC_USE_LIBC.
[...]
My outstanding
On Tue, 10 Mar 2015 19:34:59 +0100
Sven Barth pascaldra...@googlemail.com wrote:
[...]
Yes, it fails randomly, because the parameters can not be parsed
correctly (some of the passed arguments are randomly missing). I've now
finally committed my fix in r30160 which also allows the usage of
On 15.01.2012 18:26, Blaise Thorn wrote:
I have implemented the support for the Delphi-compatible non-generic closures.
I am ready to commit the improved (and fully compilable) version.
Per Jonas Maebe's suggestion, I am going to create a new branch (also, last time I tried
to commit into