Issue Details (XML | Word | Printable)

Key: STDCXX-615
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Martin Sebor
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[HP aCC 3.73] error #440 in 2.smartptr.shared.cpp

Created: 24/Oct/07 08:16 PM   Updated: 17/Apr/08 11:05 AM
Return to search
Component/s: Tests
Affects Version/s: 4.2.0
Fix Version/s: 4.2.1

Time Tracking:
Original Estimate: 2h
Original Estimate - 2h
Remaining Estimate: 0h
Time Spent - 2h
Time Spent: 2h
Time Spent - 2h

Environment: HP aCC 3.73
Issue Links:
Dependants
 

Severity: Compiler Error
Resolution Date: 25/Mar/08 04:20 PM


 Description  « Hide
As mentioned in this post, the test 2.smartptr.shared.cpp fails to compile with HP aCC 3.73 with the following error:
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/tr1.util/2.smartptr.shared.cpp
Error 440: "$(TOPDIR)/include/tr1/_smartptr.h", line 215 # Cannot initialize 'volatile Base_0<int> *' with 'volatile Derived<int> *const'.
            : _C_pbody (__rhs._C_pbody), _C_ptr (__rhs._C_ptr) {
                                                 ^^^^^^^^^^^^   
Error 445: "$(TOPDIR)/tests/tr1.util/2.smartptr.shared.cpp", line 270 # Cannot recover from earlier errors.
    static void
    ^^^^^^^^^^^
gmake: *** [2.smartptr.shared.o] Error 2


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor made changes - 21/Jan/08 06:33 PM
Field Original Value New Value
Remaining Estimate 2h [ 7200 ]
Original Estimate 2h [ 7200 ]
Martin Sebor made changes - 09/Mar/08 10:16 PM
Description From http://www.nabble.com/Re%3A--VOTE--release-stdcxx-4.2.0-%28candidate-7%29-p13373483.html:

The test 2.smartptr.shared.cpp fails to compile with HP aCC 3.73 with the following error:

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/tr1.util/2.smartptr.shared.cpp
Error 440: "$(TOPDIR)/include/tr1/_smartptr.h", line 215 # Cannot initialize 'volatile Base_0<int> *' with 'volatile Derived<int> *const'.
            : _C_pbody (__rhs._C_pbody), _C_ptr (__rhs._C_ptr) {
                                                 ^^^^^^^^^^^^
Error 445: "$(TOPDIR)/tests/tr1.util/2.smartptr.shared.cpp", line 270 # Cannot recover from earlier errors.
    static void
    ^^^^^^^^^^^
gmake: *** [2.smartptr.shared.o] Error 2
As mentioned in this [post|http://www.nabble.com/Re%3A--VOTE--release-stdcxx-4.2.0-%28candidate-7%29-p13373483.html], the test [2.smartptr.shared.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/tr1.util/2.smartptr.shared.cpp] fails to compile with HP aCC 3.73 with the following error:

{noformat}
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/tr1.util/2.smartptr.shared.cpp
Error 440: "$(TOPDIR)/include/tr1/_smartptr.h", line 215 # Cannot initialize 'volatile Base_0<int> *' with 'volatile Derived<int> *const'.
            : _C_pbody (__rhs._C_pbody), _C_ptr (__rhs._C_ptr) {
                                                 ^^^^^^^^^^^^
Error 445: "$(TOPDIR)/tests/tr1.util/2.smartptr.shared.cpp", line 270 # Cannot recover from earlier errors.
    static void
    ^^^^^^^^^^^
gmake: *** [2.smartptr.shared.o] Error 2
{noformat}
Martin Sebor made changes - 09/Mar/08 11:17 PM
Link This issue depends on STDCXX-743 [ STDCXX-743 ]
Martin Sebor made changes - 09/Mar/08 11:17 PM
Assignee Martin Sebor [ sebor ]
Martin Sebor made changes - 09/Mar/08 11:18 PM
Time Spent 1h [ 3600 ]
Remaining Estimate 2h [ 7200 ] 1h [ 3600 ]
Martin Sebor made changes - 24/Mar/08 10:18 PM
Status Open [ 1 ] In Progress [ 3 ]
Martin Sebor made changes - 25/Mar/08 04:20 PM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Martin Sebor made changes - 25/Mar/08 04:21 PM
Time Spent 1h [ 3600 ] 2h [ 7200 ]
Remaining Estimate 1h [ 3600 ] 0h [ 0 ]