Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 4980 invoked from network); 8 Dec 2005 21:30:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Dec 2005 21:30:37 -0000 Received: (qmail 42068 invoked by uid 500); 8 Dec 2005 21:30:33 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 41937 invoked by uid 500); 8 Dec 2005 21:30:33 -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 41741 invoked by uid 99); 8 Dec 2005 21:30:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2005 13:30:30 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 89FF818E for ; Thu, 8 Dec 2005 22:30:09 +0100 (CET) Message-ID: <1902021404.1134077409563.JavaMail.jira@ajax.apache.org> Date: Thu, 8 Dec 2005 22:30:09 +0100 (CET) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Closed: (STDCXX-47) [VAC++ 7.0.0.3] conflicting declaration of std::abs in and In-Reply-To: <543968527.1129240505142.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 [ http://issues.apache.org/jira/browse/STDCXX-47?page=all ] Martin Sebor closed STDCXX-47: ------------------------------ Fix confirmed. > [VAC++ 7.0.0.3] conflicting declaration of std::abs in and > ---------------------------------------------------------------------------- > > Key: STDCXX-47 > URL: http://issues.apache.org/jira/browse/STDCXX-47 > Project: STDCXX > Type: Bug > Components: 26. Numerics > Versions: 4.1.2 > Environment: VisuaAge C++ 7.0.0.3 > Reporter: Martin Sebor > Assignee: Martin Sebor > Priority: Critical > Fix For: 4.1.3 > > The test case below fails to compile with the August 2005 patch of VAC++ 7.0 (7.0.0.3). > $ xlC -qversion > IBM XL C/C++ Enterprise Edition V7.0 > Version: 07.00.0000.0003 > $ cat t.cpp && nice gmake t > #include > #include > int main () > { > std::abs (0); > } > xlCcore_r -c -I/build/sebor/dev/stdlib/include/ansi -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/build/sebor/vacpp-7.0.0.3-15S/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/../rwtest -I/build/sebor/dev/stdlib/../rwtest/include -I/build/sebor/dev/stdlib/tests/include -g -q64 -qtemplateregistry=t.ti t.cpp > "/build/sebor/dev/stdlib/include/ansi/cstdlib", line 208.16: 1540-0400 (S) "std::abs(int)" has a conflicting declaration. > "/build/sebor/dev/stdlib/include/ansi/cmath", line 811.1: 1540-0424 (I) "abs" is declared on line 811 of "/build/sebor/dev/stdlib/include/ansi/cmath". > "/build/sebor/dev/stdlib/include/ansi/cmath", line 770.1: 1540-0424 (I) "abs" is declared on line 770 of "/build/sebor/dev/stdlib/include/ansi/cmath". > "/build/sebor/dev/stdlib/include/ansi/cmath", line 567.1: 1540-0424 (I) "abs" is declared on line 567 of "/build/sebor/dev/stdlib/include/ansi/cmath". > gmake: *** [t.o] Error 1 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira