On 07 Oct 2009, at 10:18, Florian Klaempfl wrote:
Vincent Snijders schrieb:
Jonas Maebe schreef:
On 07 Oct 2009, at 09:19, Vincent Snijders wrote:
IIRC, there is a difference. With the second declaration the
compiler
can add a run-time check that the correct memebrs are accessed
based
on the value of X.
Unfortunately, I cannot find the compiler switch.
FPC has no support for this.
Then I did not remember correctly: I thought you implemented it. :-)
Actually I though too that Jonas implemented this once :)
I once started working on it, but never finished it (and the
variantcase.patch file in my compiler dir is extremely small, so I
never got very far either).
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal