|
Hi,
We had
the same problem at my company recently. wchar_t size varies according to the
platform and event the compiler on a platform.
What
we did is that :
- we
suppresed all wchar_t and wsprintf, etc... stuff
- we
developed an in-house C++ class handling 2 bytes long characters (we typedef it
with #ifdef VISUALC, #ifdef GCCLINUX, etc...). We can convert an XMLCh* to that
object or from that object to a 2 bytes char array and assign it to an
XMLCh*.
It
does not handle local page problem yet, we rely on XMLCh* for
that.
HTH
Nikko
-----Message d'origine----- De : Endre Magyari [mailto:[EMAIL PROTECTED]] Envoy� : mardi 10 septembre 2002 17:12 � : [EMAIL PROTECTED] Objet : GCC vs. typedef unsigned short XMLCh
|
