Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > openwatcom.users.c_cpp > #3482

Re: wchar_t override

From Paul S. Person <psperson@ix.netscom.com.invalid>
Newsgroups openwatcom.users.c_cpp
Subject Re: wchar_t override
Date 2017-01-19 09:45 -0800
Organization OpenWatcom
Message-ID <4pu18ctprpmfp2qefrkqc0445ujrsjup19@4ax.com> (permalink)
References <o2qq8q$8b2$1@www.openwatcom.org> <ne135c5dg532739jhsqufm6if9je3i9aiv@4ax.com> <o5qpa8$h0f$1@gioia.aioe.org>

Show all headers | View raw


On Thu, 19 Jan 2017 17:39:51 +0100, Johann Klammer
<klammerj@NOSPAM.a1.net> wrote:

>On 12/14/2016 06:53 PM, Paul S. Person wrote:
>> 
>> It is defined in several header files as:
>> 
>> typedef unsigned short wchar_t;
>> 
>> so it appears is already is an unsigned short.
>> 
>> So far as the compiler itself is concerned, I would expect (but do not
>> know for a fact) that it treats wchar_t exactly as it does unsigned
>> short. The /library/, of course, uses wchar_t liberally, but that is
>> not the same thing.
>> 
>> What problem are you actually trying to solve?
>> 
>maybe it's about the different types of wchar_t on different systems.
>I think it was the utf16 (BMP) on windows for a while, but utf32 on linux, 
>and then the windows folks may have switched too, or something...

In the absense of a response from the OP, I guess we will never know.
-- 
"Nature must be explained in 
her own terms through 
the experience of our senses."

Back to openwatcom.users.c_cpp | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

wchar_t override "David" <nope@dont.invalid> - 2016-12-13 15:54 -0800
  Re: wchar_t override Paul S. Person <psperson@ix.netscom.com.invalid> - 2016-12-14 09:53 -0800
    Re: wchar_t override Johann Klammer <klammerj@NOSPAM.a1.net> - 2017-01-19 17:39 +0100
      Re: wchar_t override Paul S. Person <psperson@ix.netscom.com.invalid> - 2017-01-19 09:45 -0800
        Re: wchar_t override "David" <nope@dont.invalid> - 2017-04-05 17:39 -0700

csiph-web