Den 12-01-2011 11:25, michael.vancann...@wisa.be skrev:
That's not correct. You must write all the default handlers.
For each procedure signature you must write a handler. So you must
write more code.
And if you want a correct error message at runtime, then you must
write a handler per weakexternal.
I am not against this feature, but this will definitely result in more
code.
Michael.
Only if you choose to use weakexternal with a set default symbol for
dynamic linking. I personally don't think that's a good idea in many cases.
This change doesn't require you to to set the default symbol, and if you
don't it'll work like a normal weakexternal reference(eg. be nil and not
warn you if it's undefined)
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel