You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/03/30 22:04:28 UTC

[jira] Created: (STDCXX-807) [Sun C++] nomatchoverin error on operator%(gslice_array) in 26.valarray.binary.stdcxx-237.cpp

[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


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::_TypeT>(std::gslice_array<int>, std::gslice_array<int>) 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.


[jira] Commented: (STDCXX-807) [Sun C++] nomatchoverin error on operator%(gslice_array) in 26.valarray.binary.stdcxx-237.cpp

Posted by "Martin Sebor (JIRA)" <ji...@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 <cassert>
#include <valarray>

int main()
{
    std::valarray<int> ia;
    std::gslice        gs;

    std::valarray<int> res = std::operator%<int>(ia [gs], ia [gs]);

    assert (0 == res.size ());

    return 0;
} 

"t.cpp", line 9: Error: Could not find a match for std::operator%<std::T>(std::gslice_array<int>, std::gslice_array<int>) 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::_Tp>(std::gslice_array<int>, std::gslice_array<int>) 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::_TypeT>(std::gslice_array<int>, std::gslice_array<int>) 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.


[jira] Updated: (STDCXX-807) [Sun C++] nomatchoverin error on operator%(gslice_array) in 26.valarray.binary.stdcxx-237.cpp

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor updated STDCXX-807:
--------------------------------

    Fix Version/s:     (was: 4.2.1)
                   4.2.2

Deferred until 4.2.2.

> [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.2
>
>   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::_TypeT>(std::gslice_array<int>, std::gslice_array<int>) 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.