On Thu, 13 Oct 2011, Marco van de Voort wrote:
In our previous episode, [email protected] said:
2. Try a blanket {$H} to make the default stringtype what you want, and fix
problems (e.g. overrides of methods, passing to var params).
The blanket {$H} seems like the way to go for most packages.
If we insert {$H ANSISTRING}, then most packages should remain functional,
allowing us to tackle the packages one by one.
The more procedural packages yes. The OOP ones not, since their stringtype
must match classes for overrides.
Yes, but
1. this is the smallest group, so I don't consider that a problem.
2. I doubt there is a lot of code in these classes that relies on
sizeof(char)=1.
It's time to cut the gordian knot and take a decision.
All pros and contras have been discussed at great length meanwhile.
Michael.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel