On Tue, 12 May 2020 11:05:15 +0200, Sven Barth via fpc-pascal
wrote:
> Virgo Pärna via fpc-pascal schrieb am
>>
>> May FPC 2.6.4 was configured to default to delphi or tp mode? In
>> those modes @ is not required to assigne procedure/function to procvar.
>>
>
> FPC's default mode was and
Virgo Pärna via fpc-pascal schrieb am
Di., 12. Mai 2020, 08:27:
> On Tue, 05 May 2020 23:03:33 +0200, Rainer Stratmann <
> rainerstratm...@t-online.de> wrote:
> >
> > But that worked a long time (2 years or so) with FPC 2.6.4
> >
>
> May FPC 2.6.4 was configured to default to delphi or tp
On Tue, 05 May 2020 23:03:33 +0200, Rainer Stratmann
wrote:
>
> But that worked a long time (2 years or so) with FPC 2.6.4
>
May FPC 2.6.4 was configured to default to delphi or tp mode? In
those modes @ is not required to assigne procedure/function to procvar.
--
Virgo Pärna
virgo.p
Am Dienstag, 5. Mai 2020, 22:53:53 CEST schrieb Bart via fpc-pascal:
> On Tue, May 5, 2020 at 10:05 PM Rainer Stratmann
>
> wrote:
> > Did I overlooked something?
>
> Your function returns a functiontype?
> Is that intended?
And I wonder why
result := false;
did not work in this function :-)
Am Dienstag, 5. Mai 2020, 22:53:53 CEST schrieb Bart via fpc-pascal:
> On Tue, May 5, 2020 at 10:05 PM Rainer Stratmann
>
> wrote:
> > Did I overlooked something?
>
> Your function returns a functiontype?
> Is that intended?
No :-)
But that worked a long time (2 years or so) with FPC 2.6.4
pro
On Tue, May 5, 2020 at 10:05 PM Rainer Stratmann
wrote:
> Did I overlooked something?
Your function returns a functiontype?
Is that intended?
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mail
hl
> https://dcclost.com
>
> From: fpc-pascal on behalf of
> Rainer Stratmann Sent: Tuesday, May 5, 2020
> 4:20:11 PM
> To: FPC-Pascal users discussions
> Subject: Re: [fpc-pascal] Different behaviour between FPC 2.6.4 and FPC
> 3.0.4
> Am Dienstag, 5. Mai 2020, 22:
discussions
Subject: Re: [fpc-pascal] Different behaviour between FPC 2.6.4 and FPC 3.0.4
Am Dienstag, 5. Mai 2020, 22:14:09 CEST schrieb Alexander Grotewohl:
> procvar:=@proc_bool; ?
Error: Incompatible types
> --
> Alexander Grotewohl
> https:/
On 05/05/2020 22:05, Rainer Stratmann wrote:
> Compiled with FPC 3.0.4 there is an access violation when executing procvar;
> Compiled with FPC 2.6.4 it works for a long time.
>
> Did I overlooked something?
>
> Mode: MObjFPC
>
> type
> t_funcboolean = function : boolean;
> var
> procvar : t_
day, May 5, 2020,
> 4:05 PM
> To: FPC-Pascal users discussions
> Subject: [fpc-pascal] Different behaviour between FPC 2.6.4 and FPC 3.0.4
>
> Compiled with FPC 3.0.4 there is an access violation when executing procvar;
> Compiled with FPC 2.6.4 it works for a long time.
>
>
procvar:=@proc_bool; ?
--
Alexander Grotewohl
https://dcclost.com
From: fpc-pascal on behalf of Rainer
Stratmann
Sent: Tuesday, May 5, 2020, 4:05 PM
To: FPC-Pascal users discussions
Subject: [fpc-pascal] Different behaviour between FPC 2.6.4 and FPC 3.0.4
Compiled with FPC 3.0.4 there is an access violation when executing procvar;
Compiled with FPC 2.6.4 it works for a long time.
Did I overlooked something?
Mode: MObjFPC
type
t_funcboolean = function : boolean;
var
procvar : t_funcboolean;
function proc_bool : t_funcboolean;
begin
end;
begin
12 matches
Mail list logo