incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Updated: (STDCXX-616) [HP aCC 3.73] compilation errors in 20.auto.ptr.cpp
Date Thu, 08 Nov 2007 23:44:50 GMT

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

Martin Sebor updated STDCXX-616:
--------------------------------

    Summary: [HP aCC 3.73] compilation errors in 20.auto.ptr.cpp  (was: [HP aCC 3.73] error
#902 in 20.auto.ptr.cpp)

> [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.


Mime
View raw message