From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22512 invoked by alias); 29 Nov 2001 10:35:52 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 22442 invoked from network); 29 Nov 2001 10:35:46 -0000 Received: from unknown (HELO finch-post-10.mail.demon.net) (194.217.242.38) by hostedprojects.ges.redhat.com with SMTP; 29 Nov 2001 10:35:46 -0000 Received: from mailgate.softwire.co.uk ([62.49.203.138] helo=polarbear) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 169OXZ-000K5x-0A; Thu, 29 Nov 2001 10:35:37 +0000 From: "Rupert Wood" To: "'Kirwan, Brian'" Cc: Subject: RE: Missing basic wide char/wide string handling functions Date: Thu, 22 Nov 2001 05:23:00 -0000 Message-ID: <616BE6A276E3714788D2AC35C40CD18D03A99D@whale.softwire.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <577D56F824BAD411A1230008C728534AC5880F@dublin.accuris.ie> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-SW-Source: 2001-11/txt/msg00207.txt.bz2 Brian Kirwan wrote: > I'm building an application that needs to handle unicode strings and > therefore need wide char/string handling functions. In gcc, I CAN > find the corresponding CONVERSION functions (e.g., mbstowcs, > wcstombs, etc.) but I CANNOT find the BASIC wide string handling > functions, i.e., wcout, wstrcat, etc. (nor wprintf, etc in the C > library). GCC makes a few POSIX-like fixes to the system header files, but the set of functions you have really depends on the C library you're using and not on the compiler. That said, it sounds like you're using a Sun box. Certainly Solaris 2.8's system C library has wprintf in wchar.h (try 'man wprintf') but I'm not sure how many Solaris versions back that goes. Hope that helps, Rup. From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rupert Wood" To: "'Kirwan, Brian'" Cc: Subject: RE: Missing basic wide char/wide string handling functions Date: Thu, 29 Nov 2001 02:35:00 -0000 Message-ID: <616BE6A276E3714788D2AC35C40CD18D03A99D@whale.softwire.co.uk> References: <577D56F824BAD411A1230008C728534AC5880F@dublin.accuris.ie> X-SW-Source: 2001-11/msg00290.html Message-ID: <20011129023500.nykYAE65aIgx4ugqL9gxgPcNbeK_jcLA_7rvbsdHIUA@z> Brian Kirwan wrote: > I'm building an application that needs to handle unicode strings and > therefore need wide char/string handling functions. In gcc, I CAN > find the corresponding CONVERSION functions (e.g., mbstowcs, > wcstombs, etc.) but I CANNOT find the BASIC wide string handling > functions, i.e., wcout, wstrcat, etc. (nor wprintf, etc in the C > library). GCC makes a few POSIX-like fixes to the system header files, but the set of functions you have really depends on the C library you're using and not on the compiler. That said, it sounds like you're using a Sun box. Certainly Solaris 2.8's system C library has wprintf in wchar.h (try 'man wprintf') but I'm not sure how many Solaris versions back that goes. Hope that helps, Rup.