From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15989 invoked by alias); 1 Feb 2009 23:26:42 -0000 Received: (qmail 15981 invoked by uid 22791); 1 Feb 2009 23:26:42 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 01 Feb 2009 23:26:36 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n11NO6F3031383; Sun, 1 Feb 2009 18:24:07 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n11NO6Yt015362; Sun, 1 Feb 2009 18:24:06 -0500 Received: from opsy.redhat.com (vpn-12-165.rdu.redhat.com [10.11.12.165]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n11NO6fj020027; Sun, 1 Feb 2009 18:24:06 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 5C37250826F; Sun, 1 Feb 2009 16:24:04 -0700 (MST) To: Joel Brobecker Cc: Julian Brown , gdb-patches@sourceware.org Subject: Re: [PATCH/WIP] C/C++ wchar_t/Unicode printing support References: <20090115202411.5f154657@rex.config> <20090130194343.GA3964@adacore.com> <20090201182344.GD4597@caradoc.them.org> <20090201231604.GA24974@caradoc.them.org> From: Tom Tromey Reply-To: Tom Tromey Date: Sun, 01 Feb 2009 23:26:00 -0000 In-Reply-To: <20090201231604.GA24974@caradoc.them.org> (Daniel Jacobowitz's message of "Sun\, 1 Feb 2009 18\:16\:04 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00019.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: Daniel> As far as portability goes, we may have to experiment. But I can tell Daniel> you flat out that swprintf is going to be a problem; it's a C99 Daniel> library function and most hosts don't have C99 library extensions. Thanks. It is no trouble to avoid swprintf, I'll make this change. Tom> I think "set charset" already does this. It doesn't handle the target Tom> wide charset, but that seems ok in the degraded functionality mode. Daniel> Right. Except that if the wide charset remains unchanged, validate Daniel> will report an error since it can't convert to it... Oh, duh. Yeah. Tom