[fpc-devel] Using Macros for IInterface

Marco van de Voort marcov at stack.nl
Wed Sep 26 12:40:58 CEST 2012


In our previous episode, Graeme Geldenhuys said:
> > You are right! I forgot about that. 2.6.0 already supports constref so
> > we can indeed remove the FPC_HAS_CONSTREF part from trunk.
> 
> Awesome!  So I guess that could be back ported to 2.6.x (fixes branch) 
> too - ready for the possible 2.6.2 release some day?

I think you are misinterpreting something. 

It means the interface will always be constref, and thus no ifdefing in FPC
(if you don't support <2.6.0) will be necessary.

But users don't need to ifdef if they don't use compilers that 
don't support constref (FPC 2.4 series and delphi)




More information about the fpc-devel mailing list