Re: [fpc-devel] -CR (method checking) and casting of classes

2009-08-02 Thread Jonas Maebe
On 02 Aug 2009, at 04:17, Martin wrote: I am wondering if the code below is valid or not. It is not. It executes, but compiled with -CR gives a runtime error in fpc_check_object xfoo is a variable to store a class of TFooClass, or any inherited class. It is initialized with the

[fpc-devel] [PATCH] patch to allow TUnzipper to load it's zip file from wherever

2009-08-02 Thread Andrew Haines
Hi, This patch allows TUnzipper to load it's file from any TStream descendant instead of only using a FileName to load a zip stream. Regards, Andrew Haines Index: src/zipper.pp === --- src/zipper.pp (revision 13488) +++