public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* size of wchar_t
@ 2004-03-31 19:48 Artem B. Bityuckiy
  2004-03-31 21:26 ` llewelly
  0 siblings, 1 reply; 5+ messages in thread
From: Artem B. Bityuckiy @ 2004-03-31 19:48 UTC (permalink / raw)
  To: gcc-help

Hello.

I need to determine size of wchar_t type at compile-time. Is there some 
macro to find sizeof(wchar_t). Specifically, I need to know is wchar_t 2 
bytes or more. I tried to use WCHAR_TYPE_SIZE macro but it isn't defined 
by gcc (I use arm-elf-gcc, v3.2). I also want such macro be defined on 
any target.

What macro should I use? May be some alternative ways exist? Thanks.

Thanks in advance.

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-02 14:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-31 19:48 size of wchar_t Artem B. Bityuckiy
2004-03-31 21:26 ` llewelly
2004-04-01  6:25   ` Artem B. Bityuckiy
2004-04-01 13:26     ` Eljay Love-Jensen
2004-04-02 14:34       ` Artem B. Bityuckiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).