Am 13.10.2011 11:57, schrieb Marco van de Voort:
In our previous episode, Sven Barth said:
I think he ment that if such a feature is introduced it would be a
natural conclusion to define "string = unicodestring" on Windows and
"string = utf8string" for Unix in the RTL and the FCL (and maybe "string
= ansistring" for DOS and OS/2). Thus those two libraries need to be
tested intensively that they can cope with that.
No, worse even, both on both platforms. So win32-utf8 and win32-utf16, where
the utf* designates the type of the default string type. And the same for
unix. Maybe win32-ansi too.
Ok... that you want multiple distributions per platform is clear now.
But you would not oppose (in the case of having multiple distributions)
a feature like Felipe suggested, do I understand that correctl?
The default stringtype is set on compiler startup, but can be modified
inside procedures with $H like behaviour.
You would go as far as allowing a change of "string" on a per-procedure
base?
Regards,
Sven
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel