Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 58736 invoked from network); 30 Mar 2008 20:14:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Mar 2008 20:14:45 -0000 Received: (qmail 90410 invoked by uid 500); 30 Mar 2008 20:14:45 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 90394 invoked by uid 500); 30 Mar 2008 20:14:45 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 90385 invoked by uid 99); 30 Mar 2008 20:14:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Mar 2008 13:14:45 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Mar 2008 20:14:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 91E65234C0A8 for ; Sun, 30 Mar 2008 13:12:25 -0700 (PDT) Message-ID: <500977206.1206907945583.JavaMail.jira@brutus> Date: Sun, 30 Mar 2008 13:12:25 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Commented: (STDCXX-807) [Sun C++] nomatchoverin error on operator%(gslice_array) in 26.valarray.binary.stdcxx-237.cpp In-Reply-To: <18879494.1206907468139.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-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583480#action_12583480 ] Martin Sebor commented on STDCXX-807: ------------------------------------- The same program fails to compile with the native C++ Standard Library (stdlib 2.1.1), or with STLport: {noformat} $ cat t.cpp && CC t.cpp || CC -V -library=stlport4 t.cpp #include #include int main() { std::valarray ia; std::gslice gs; std::valarray res = std::operator%(ia [gs], ia [gs]); assert (0 == res.size ()); return 0; } "t.cpp", line 9: Error: Could not find a match for std::operator%(std::gslice_array, std::gslice_array) needed in main(). 1 Error(s) detected. CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25 ccfe: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25 "t.cpp", line 9: Error: Could not find a match for std::operator%(std::gslice_array, std::gslice_array) needed in main(). 1 Error(s) detected. {noformat} > [Sun C++] nomatchoverin error on operator%(gslice_array) in 26.valarray.binary.stdcxx-237.cpp > --------------------------------------------------------------------------------------------- > > Key: STDCXX-807 > URL: https://issues.apache.org/jira/browse/STDCXX-807 > Project: C++ Standard Library > Issue Type: Bug > Affects Versions: 4.2.0 > Reporter: Martin Sebor > Priority: Minor > Fix For: 4.2.1 > > Original Estimate: 1h > Remaining Estimate: 1h > > The regression test [26.valarray.binary.stdcxx-237.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/regress/26.valarray.binary.stdcxx-237.cpp] for STDCXX-237 fails to compile with all tested versions of Sun C++ with an error like the one below (copied from a Sun C++ 5.9 build log). Suspect a compiler bug. > {noformat} > CC -c -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -library=%none -O -m32 +w -errtags -erroff=hidef $(TOPDIR)/tests/regress/26.valarray.binary.stdcxx-237.cpp > "$(TOPDIR)/tests/regress/26.valarray.binary.stdcxx-237.cpp", line 37: Error, nomatchoverin: Could not find a match for std::operator%(std::gslice_array, std::gslice_array) needed in main(). > 1 Error(s) detected. > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.