On 18 Aug 2011, at 17:08, <dhkblas...@zeelandnet.nl> <dhkblas...@zeelandnet.nl > wrote:

I'm porting a piece of code from C++ and
there they use virtual inline methods. I tried it in FPC but it accepts
either virtual OR inline methods. Is this a bug, or a feature that I
don't understand enough about?

FPC cannot inline virtual methods under any circumstances (even though in some special cases it would be theoretically possible, such as with final virtual methods or when using whole-program optimization), so it doesn't make sense to allow declaring them.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to