Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 70554 invoked from network); 10 Jan 2006 17:06:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jan 2006 17:06:21 -0000 Received: (qmail 5123 invoked by uid 500); 10 Jan 2006 17:06:17 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 5065 invoked by uid 500); 10 Jan 2006 17:06:15 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 5034 invoked by uid 99); 10 Jan 2006 17:06:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2006 09:06:14 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.17.213.84] (HELO bco-exchange.bco.roguewave.com) (12.17.213.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2006 09:06:14 -0800 Received: from [10.70.2.6] (skynet.bco.roguewave.com [10.70.2.6]) by bco-exchange.bco.roguewave.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id ZGW28AH1; Tue, 10 Jan 2006 09:59:25 -0700 Message-ID: <43C3E9B3.2050800@roguewave.com> Date: Tue, 10 Jan 2006 10:06:59 -0700 From: Liviu Nicoara User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: gcc builds broken on dev: mbstate_t not in std Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Martin, As we discussed it yesterday the gcc builds are broken on dev because of a glitch introduced in [I believe] revision 366948. AFAICT the else branch of the new SunOS conditional in rw/_mbstate.h does not preserve the former logic. The following is a tentative patch; could you please take a look at it and see if I understood correctly the problem? Thanks, Liviu Index: include/rw/_mbstate.h =================================================================== --- include/rw/_mbstate.h (revision 367667) +++ include/rw/_mbstate.h (working copy) @@ -122,7 +122,19 @@ # endif // _RWSTD_NO_USING_LIBC_IN_STD # else // if !defined (_RWSTD_OS_SUNOS) + # include _RWSTD_CWCHAR + +# ifndef _RWSTD_NO_USING_LIBC_IN_STD + +namespace std { + +using ::mbstate_t; + +} // namespace std + +# endif // _RWSTD_NO_USING_LIBC_IN_STD + # endif // _RWSTD_OS_SUNOS #elif !defined (_RWSTD_MBSTATE_T_DEFINED)