[fpc-devel] interface vs optimizer

Florian Klaempfl florian at freepascal.org
Sat Jan 21 10:28:06 CET 2006

mariano podesta wrote:
> ok, but is this a correct behavior?

Yes. Why should the interface life longer? There isn't any owner 
anymore? If you need a longer life time, you need to assign the 
interface to something.

> i think it would be best to optimize with a compiler switch or to give a 
> switch to turn it off.
> i have big porting problems :(

Porting from what? Delphi? Are you sure that it didn't on Delphi by 

More information about the fpc-devel mailing list