From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18308 invoked by alias); 15 Aug 2004 20:47:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18299 invoked by alias); 15 Aug 2004 20:47:15 -0000 Date: Sun, 15 Aug 2004 20:47:00 -0000 Message-ID: <20040815204715.18297.qmail@sourceware.org> From: "dave at hiauly1 dot hia dot nrc dot ca" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040812163817.17005.jerrydy@sbcglobal.net> References: <20040812163817.17005.jerrydy@sbcglobal.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libstdc++/17005] wide character strings don't work on HP-UX 11i using gcc 3.4.1 X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01463.txt.bz2 List-Id: ------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2004-08-15 20:47 ------- Subject: Re: wide character strings don't work on HP-UX > I see... > I do not understand well what you are saying below: the standard mandated > type > for the third argument is const wchar_t* and from what you are writing it > seems > that _INCLUDE__STDC_A1_SOURCE gets it right, *not* viceversa! Right. > Thanks to your patch, _INCLUDE__STDC_A1_SOURCE is now defined (right?) so I > cannot understand why on this target wcsftime expects a (wrong) const char*! It sort of looks as if HP may have written this stuff ... I'm still looking at this but it looks as if the code switches behavior depending on some bit in the variable __xpg4_extended_mask. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17005