Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 76464 invoked from network); 1 Feb 2007 02:53:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2007 02:53:26 -0000 Received: (qmail 73769 invoked by uid 500); 1 Feb 2007 02:53:32 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 73753 invoked by uid 500); 1 Feb 2007 02:53:32 -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 73741 invoked by uid 99); 1 Feb 2007 02:53:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 18:53:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 18:53:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A439571408A for ; Wed, 31 Jan 2007 18:53:05 -0800 (PST) Message-ID: <27473399.1170298385670.JavaMail.jira@brutus> Date: Wed, 31 Jan 2007 18:53:05 -0800 (PST) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Resolved: (STDCXX-330) compile of 22.locale.money.put.cpp fails with Sun C++ compiler In-Reply-To: <835007.1170297665570.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor resolved STDCXX-330. --------------------------------- Resolution: Fixed Fix Version/s: 4.2 Fixed on trunk in rev 495359: http://svn.apache.org/viewvc?view=rev&revision=495359 > compile of 22.locale.money.put.cpp fails with Sun C++ compiler > -------------------------------------------------------------- > > Key: STDCXX-330 > URL: https://issues.apache.org/jira/browse/STDCXX-330 > Project: C++ Standard Library > Issue Type: Bug > Components: Tests > Affects Versions: 4.1.3 > Environment: SunOS 5.9 > Reporter: Mukesh Kapoor > Priority: Minor > Fix For: 4.2 > > > Compile of 22.locale.money.put.cpp fails with the message: > "stdcxx-4.1.3/tests/localization/22.locale.money.put.cpp", line 332: Error: The function "sprintf" must have a prototype. > "stdcxx-4.1.3/tests/localization/22.locale. > money.put.cpp", line 419: Where: While instantiating "type_test(int, char, long double, const char*, char, int, int, int, const char*, const char*)". > "stdcxx-4.1.3/tests/localization/22.locale.money.put.cpp", line 419: Where: Instantiated from ldbl_test(char). > "stdcxx-4.1.3/tests/localization/22.locale.money.put.cpp", line 830: Where: Instantiated from non-template code. > The fix is to use std::sprintf instead of sprintf -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.