[fpc-devel] fpc 2.2.4: function header doesn't match any method

Peter Beisel beisel at kbprueftechnik.frm.de
Fri Nov 20 19:52:31 CET 2009

I'm changing from FPC1.0.6 to 2.2.4 and recompiling my project.
(compiling with 1.0.6 works fine)

Compiling with 2.2.4 following error message occures:
"Error: function header doesn't match any method of this class 
'constructor TProgrammAuswahl.init( ...)' "

But this is exactly the constructor defined in the object declaration.
Do you have any ideas?

target: go32v2
Compiler mode: object pascal extension on

Reduced file attached: tobs.pas
error: line 212

Regards Peter

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tobs.pas
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20091120/1e9feed8/attachment.ksh>

More information about the fpc-devel mailing list