Please include the respective line. In my trunk source, it's a valid generic
specialization. That point has > as closing bracket of generic type name.
Either your compiler is buggy or you accidentally change the source.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabb
On 23.11.2013 17:29, Andrew Brunner wrote:
The last question I have is when can I expect to use nested procedure
variables system wide without compiler directives? What's the hold-up
or reason why the mode is even needed?
Same reason why advanced records are disabled by default and why also
t
On 23 Nov 2013, at 17:29, Andrew Brunner wrote:
> Ok, I had a test program that used a few other units. Apparently this had to
> be placed at the top of my units that used and implemented the nested
> callback type.
>
> {$mode objfpc}
> {$modeswitch nestedprocvars}
If you turn on warnings, y
Ok, I had a test program that used a few other units. Apparently this
had to be placed at the top of my units that used and implemented the
nested callback type.
{$mode objfpc}
{$modeswitch nestedprocvars}
The last question I have is when can I expect to use nested procedure
variables syste
Environment:
Ubuntu 13.10 64bits
FPC 2.6.3 - Rev 26119
Lazarus 1.2RC - Rev 43472
When i try compile for i386, i get this:
Free Pascal Compiler version 2.6.3 [2013/11/23] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling lazcontrols.pas
Compiling d
On 23 Nov 2013, at 15:47, Andrew Brunner wrote:
> I'm wondering if the is nested procedure type is supposed to work
>
> {$modeswitch nestedprocvars}
>
> Type TMyCallback=procedure(Index:Integer) is nested;
>
> I thought 2.6.0 was supposed to support this but I'm using FPC from svn/trunk
> and
I'm wondering if the is nested procedure type is supposed to work
{$modeswitch nestedprocvars}
Type TMyCallback=procedure(Index:Integer) is nested;
I thought 2.6.0 was supposed to support this but I'm using FPC from
svn/trunk and it does not. Any ideas?
see also:
http://wiki.freepascal.org/