You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Jens Schilling <sc...@web.de> on 2001/09/20 19:36:47 UTC
GCCDefs.hpp
Hi,
some definitions in the file "GCCDefs.hpp" are wrong or unusable. Someone
means the gcc-compiler does not understand L"", thats not right. And why do
you use unsigned short instead of wchar_t? The L"" statement is of type
wchar_t. It is easier use unicode strings with L"" instead of defining arrays
of XMLCh.
by
Jens Schilling
mailto:schilling.jens@web.de
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: GCCDefs.hpp
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"Jens Schilling" <sc...@web.de> writes:
> some definitions in the file "GCCDefs.hpp" are wrong or
> unusable. Someone means the gcc-compiler does not understand L"",
> thats not right. And why do you use unsigned short instead of
> wchar_t? The L"" statement is of type wchar_t. It is easier use
> unicode strings with L"" instead of defining arrays of XMLCh.
Hey Jens,
I didn't write it, so I'm only guessing. Two reasons:
* this has to work with *all* compilers, so they needed to use a
common type, and wchar_t isn't supported everywhere????
* the person who wrote the header didn't know about L""????
Want to provide a working patch?
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org