[fpc-pascal] problem with interface (OOP not widget)

Giuliano Colla giuliano.colla at fastwebnet.it
Tue Jan 29 13:06:29 CET 2008


Bee ha scritto:
>> Hi Bee, perhaps you could try using {$MODE Delphi} instead of {$MODE 
>> OBJFPC} since you seem to want Delphi compatibility.
> 
> Problem still persists. :(
> 
> -Bee-

FWIW. I've met from time to time a Fatal Internal Error with some number 
  which might match yours, in perfectly clean code, which used to 
compile flawlessly (both when building Lazarus, or building my 
applications). It was happening with pfc 2.0.4, it happens now with fpc 
2.2.0. With a given release of Lazarus it happens quite frequently, with 
the next much less frequently, at random. I didn't report it, because I 
was unable to create a reproducible pattern. In my case, just launching 
again the compilation (one or two times) without touching anything else 
fixed the problem. A variable not properly initialized somewhere in fpc? 
I stopped worrying and when the error pops up I just press F9 again, and 
it works.
Did you try such a brute force approach?

Giuliano

-- 
Giuliano Colla

Whenever people agree with me, I always feel I must be wrong (O. Wilde)



More information about the fpc-pascal mailing list