You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/11/09 00:46:50 UTC

[jira] Closed: (STDCXX-616) [HP aCC 3.73] compilation errors in 20.auto.ptr.cpp

     [ https://issues.apache.org/jira/browse/STDCXX-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor closed STDCXX-616.
-------------------------------

    Resolution: Fixed

Fixed (worked around) thus: http://svn.apache.org/viewvc?rev=593361&view=rev

> [HP aCC 3.73] compilation errors in 20.auto.ptr.cpp
> ---------------------------------------------------
>
>                 Key: STDCXX-616
>                 URL: https://issues.apache.org/jira/browse/STDCXX-616
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 4.2.0
>         Environment: HP aCC 3.73
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Minor
>             Fix For: 4.2.1
>
>
> From http://www.nabble.com/Re%3A--VOTE--release-stdcxx-4.2.0-%28candidate-7%29-p13373483.html:
> The test 20.auto.ptr.cpp fails to compile with HP aCC 3.73:
> aCC -c  -D_RWSTDDEBUG    -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include  -AA  -g +d  +DD64 +w +W392 +W655 +W684 +W818 +W819 +W849   $(TOPDIR)/tests/utilities/20.auto.ptr.cpp
> Error 902: "$(TOPDIR)/tests/utilities/20.auto.ptr.cpp", line 292 # Template deduction failed to find a match for the call to 'operator =' with signature 'void (std::auto_ptr<void> *,std::auto_ptr<void>)'.
>         ap1.operator=<void>(ap1);
>                     ^^^^^^^      
> Error 187: "$(TOPDIR)/tests/utilities/20.auto.ptr.cpp", line 314 # Referenced object 'operator std::auto_ptr_ref<void>' is not a member of class auto_ptr<void> ["$(TOPDIR)/include/rw/_autoptr.h", line 126].
>         const std::auto_ptr_ref<void> ar = ap1.operator std::auto_ptr_ref<void>();
>                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   
> Error 226: "$(TOPDIR)/tests/utilities/20.auto.ptr.cpp", line 314 # No appropriate function found for call of 'auto_ptr_ref::auto_ptr_ref'. Last viable candidate was "std::auto_ptr_ref<void>::auto_ptr_ref(const std::auto_ptr_ref<void> &)" ["$(TOPDIR)/include/rw/_autoptr.h", line 97]. Argument of type 'int' could not be converted to 'const std::auto_ptr_ref<void> &'.
>         const std::auto_ptr_ref<void> ar = ap1.operator std::auto_ptr_ref<void>();
>                                       ^^                                          
> Error 187: "$(TOPDIR)/tests/utilities/20.auto.ptr.cpp", line 315 # Referenced object 'operator std::auto_ptr<void>' is not a member of class auto_ptr<void> ["$(TOPDIR)/include/rw/_autoptr.h", line 126].
>         const std::auto_ptr<void> ap5 = ap1.operator std::auto_ptr<void>();
>                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^   
> Error 226: "$(TOPDIR)/tests/utilities/20.auto.ptr.cpp", line 315 # No appropriate function found for call of 'auto_ptr::auto_ptr'. Last viable candidate was "std::auto_ptr<void>::auto_ptr(std::auto_ptr<void> &)" ["$(TOPDIR)/include/rw/_autoptr.h", line 136]. Argument of type 'int' could not be converted to 'std::auto_ptr<void> &'.
>         const std::auto_ptr<void> ap5 = ap1.operator std::auto_ptr<void>();
>                                   ^^^                                      
> gmake: *** [20.auto.ptr.o] Error 2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.