[fpc-pascal] Regression? Problem passing a packed record to a overriden, virtual, abstract method in fpc 2.7.1.

Flávio Etrusco flavio.etrusco at gmail.com
Tue Feb 26 04:47:49 CET 2013


On Mon, Feb 25, 2013 at 11:45 PM, Reimar Grabowski <reimgrab at web.de> wrote:
> On Tue, 26 Feb 2013 00:02:33 +0100
> Reimar Grabowski <reimgrab at web.de> wrote:
>
>> But from command line it works. So it is not a FPC problem.
> I am really sorry for communicating with myself but I have spoken too early. Now I can reproduce the problem using just FPC, no Lazarus involved.
> It gets triggered when compiling with range checking (-Cr) or with veryfying object method call validity (-CR).
> At least now I know where the problem is and can workaround it by disabling both.
> 2.6.2 works correctly.
>
> R.

FWIW even with these settings I can't reproduce the bug. Not even
enabling -O3 -Ou.
(FPC 2.6 on Win32, compiling from Lazarus)

-Flávio



More information about the fpc-pascal mailing list