This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ v3 wants more libio functions now
- To: bosch at gnat dot com
- Subject: Re: libstdc++ v3 wants more libio functions now
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Wed, 26 Jul 00 08:39:10 EDT
- Cc: gcc at gcc dot gnu dot org
I am just fixing the code in GNAT for interfacing with C wide
characters. GNAT assumed that C wchar_t was a 16-bit quantity, but we
were notified by a user that this actually was defined as Integer'Size
in GCC. If this definition may be changed to 16-bit anytime soon, I'd
like to know so I can avoid double changes.
On some machines it's 16 bits, on others the integer size. Use
WCHAR_TYPE_SIZE.