Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 62997 invoked from network); 14 Dec 2007 00:53:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2007 00:53:06 -0000 Received: (qmail 24905 invoked by uid 500); 14 Dec 2007 00:52:55 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 24895 invoked by uid 500); 14 Dec 2007 00:52:55 -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 24883 invoked by uid 99); 14 Dec 2007 00:52:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2007 16:52:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Fri, 14 Dec 2007 00:53:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1FFA171420A for ; Thu, 13 Dec 2007 16:52:43 -0800 (PST) Message-ID: <31027573.1197593563128.JavaMail.jira@brutus> Date: Thu, 13 Dec 2007 16:52:43 -0800 (PST) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-673) [IBM XLC++ 9.0/AIX 5.3] 0.printf fails with assertions In-Reply-To: <13529006.1196119723276.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-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551664 ] Martin Sebor commented on STDCXX-673: ------------------------------------- Okay, this sounds like a good plan for now. I checked your patch in as follows: http://svn.apache.org/viewvc?rev=604073&view=rev We will need to revisit this issue at some point before finalizing this though to make sure our typedefs are the same as those provided by the C library on every system. That will require us to either autodetect the underlying type of int8_t or hardcode it for the known platforms (conditionally, depending on the compiler macro defined in response to the option that control the signedness of plain chars). We'll likely end up with a combination of the two approaches. > [IBM XLC++ 9.0/AIX 5.3] 0.printf fails with assertions > ------------------------------------------------------ > > Key: STDCXX-673 > URL: https://issues.apache.org/jira/browse/STDCXX-673 > Project: C++ Standard Library > Issue Type: Bug > Components: Test Driver > Affects Versions: 4.2.0 > Reporter: Travis Vitek > Assignee: Travis Vitek > Priority: Minor > Fix For: 4.2.1 > > Attachments: stdcxx-673.patch > > > extension: "%{N}" buffer size > /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "foo", va_list) error: errno = 12: Not enough space > /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "foo", va_list) error: errno = 12: Not enough space > /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "foo", va_list) error: errno = 12: Not enough space > /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "foo", va_list) error: errno = 12: Not enough space > /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "bar", va_list) error: errno = 12: Not enough space > /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "bar", va_list) error: errno = 12: Not enough space > /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "bar", va_list) error: errno = 12: Not enough space > /amd/devco/vitek/stdcxx/trunk/tests/src/printf.cpp:1022: rw_vasnprintf(ffffffffffff8d0, ffffffffffff8d8, "bar", va_list) error: errno = 12: Not enough space > extension: "%{@}" nested format directive > malformed directives > Failed 8 out of 1572 assertions. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.