From stdcxx-dev-return-254-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Thu Oct 13 21:55:27 2005 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 99899 invoked from network); 13 Oct 2005 21:55:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2005 21:55:27 -0000 Received: (qmail 39145 invoked by uid 500); 13 Oct 2005 21:55:27 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 39129 invoked by uid 500); 13 Oct 2005 21:55:26 -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 39118 invoked by uid 99); 13 Oct 2005 21:55:26 -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, 13 Oct 2005 14:55:26 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 23519516 for ; Thu, 13 Oct 2005 23:55:05 +0200 (CEST) Message-ID: <543968527.1129240505142.JavaMail.jira@ajax.apache.org> Date: Thu, 13 Oct 2005 23:55:05 +0200 (CEST) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-47) [VAC++ 7.0.0.3] conflicting declaration of std::abs in and 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 [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 Assigned to: 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