Details
Description
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
Attachments
Issue Links
- is blocked by
-
STDCXX-655 [HP aCC 3.73] error 902 on an overloaded template assignment in a template
- Open
-
STDCXX-656 [HP aCC 3.73] error 187 on an explicit call to a template conversion operator
- Open