Re: [fpc-pascal] Verify Method Calls

2016-07-09 Thread Jonas Maebe
tobiasgie...@gmail.com wrote: > many thanks for your reply! -vh didn't show more info, but I was able to > reduce the source to a small program, maybe you can try it? Compiling it > with -CR fails, but without it compiles fine without warnings. Indeed. Please file a bug report. Jonas ___

Re: [fpc-pascal] Verify Method Calls

2016-07-05 Thread tobiasgiesen
Hello, many thanks for your reply! -vh didn't show more info, but I was able to reduce the source to a small program, maybe you can try it? Compiling it with -CR fails, but without it compiles fine without warnings. Unfortunately there are many typecasts like these and I don't know how to solve it.

Re: [fpc-pascal] Verify Method Calls

2016-07-04 Thread Jonas Maebe
On 04/07/16 19:38, tobiasgie...@gmail.com wrote: I would like to use "Verify Method Calls" (-CR), but when I choose it in the Lazarus project options under debugging, I get compiler errors such as: Incompatible type for arg no.2: Got "Class Of IZCollection", expected "TClass". With Verify Meth

[fpc-pascal] Verify Method Calls

2016-07-04 Thread tobiasgiesen
Hello, I would like to use "Verify Method Calls" (-CR), but when I choose it in the Lazarus project options under debugging, I get compiler errors such as: Incompatible type for arg no.2: Got "Class Of IZCollection", expected "TClass". With Verify Method Calls off, the same code compiles fine.