sorry. Gcc version is 2.95.4 and freeBSD version is 4.9 .

Regards,
Umesh
On Mon, 2007-10-08 at 11:29 -0700, David Bertoni wrote:
> Umesh Chandak wrote:
> > Hi All,
> > I am using the macro X which has definition like 
> > #define X(str)      ((const XMLCh *) L##str)
> > But In freeBSD 4.9 it is not working which has gcc version 4.95.4 . GCC
> > 4.95.9 doesn't have compiler option -fshort-wchar. 
> > Can anybody tell me how can I do the same functionality in freeBSD 4.9
> > or in gcc 4.95.4.
> I've never heard of a version of GCC called 4.95.9.  Are you sure that's 
> the correct version?
> 
> There is no way to implement the X macro if the compiler doesn't support 
> UTF-16 as the encoding for wide character strings.  However, there are some 
>   samples that implement a class that does something similar through local 
> code page transcoding.  Search the samples for "StrX" to see an example.
> 
> Dave
> 
-- 
Umesh Chandak <[EMAIL PROTECTED]>

Reply via email to