Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 96917 invoked from network); 14 Oct 2005 20:23:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Oct 2005 20:23:37 -0000 Received: (qmail 98724 invoked by uid 500); 14 Oct 2005 20:23:11 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 98703 invoked by uid 500); 14 Oct 2005 20:23:10 -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 98691 invoked by uid 99); 14 Oct 2005 20:23:10 -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; Fri, 14 Oct 2005 13:23:08 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 5B1A3514 for ; Fri, 14 Oct 2005 22:22:47 +0200 (CEST) Message-ID: <127114515.1129321367370.JavaMail.jira@ajax.apache.org> Date: Fri, 14 Oct 2005 22:22:47 +0200 (CEST) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Resolved: (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 resolved STDCXX-47: -------------------------------- Resolution: Fixed With the change the test case compiles cleanly. > [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