[fpc-devel] misleading error msg in fpc 2.2.0

2008-02-04 Thread Giuliano Colla
While porting Delphi CLX library to fpc/Lazarus, I mixed up things, and I tried to override an ancestor method which is static in CLX, because I remembered it to be virtual in Lazarus. So far so good, but it took me some time to sort out the problem, because the compiler error message was

Re: [fpc-devel] misleading error msg in fpc 2.2.0

2008-02-04 Thread Peter Vreman
Giuliano Colla wrote: While porting Delphi CLX library to fpc/Lazarus, I mixed up things, and I tried to override an ancestor method which is static in CLX, because I remembered it to be virtual in Lazarus. So far so good, but it took me some time to sort out the problem, because the

Re: [fpc-devel] misleading error msg in fpc 2.2.0

2008-02-04 Thread Giuliano Colla
Peter Vreman ha scritto: Please submit a bug report with example code so it will not be forgotten. Done. Thank you Giuliano ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel