From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28157 invoked by alias); 15 Sep 2008 02:59:01 -0000 Received: (qmail 27857 invoked by uid 48); 15 Sep 2008 02:57:40 -0000 Date: Mon, 15 Sep 2008 02:59:00 -0000 Message-ID: <20080915025740.27856.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/37522] [4.4 regression] Incorrect vswprintf prototype breaks __to_xstring In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dannysmith at users dot sourceforge dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-09/txt/msg01746.txt.bz2 ------- Comment #1 from dannysmith at users dot sourceforge dot net 2008-09-15 02:57 ------- > > I guess the solution is to make libstdc++ use _vsnwprintf instead of vswprintf > on *-mingw32. > I think that is the most expedient solution. Would an inline redirection of vswprintf to _vsnwprintf in config/os/mingw32/os_define.h (later, if it gets fixed in mingw runtime that could be made conditional on mingw version) work? Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37522