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 added a comment - 09/Mar/08 10:16 PM
Disabled formatting.

Martin Sebor added a comment - 09/Mar/08 11:17 PM
Analyzed to be caused by the compiler bug documented in STDCXX-743.

Martin Sebor added a comment - 25/Mar/08 04:20 PM
Problematic construct disabled in r640876.
Will close after integrating into 4.2.x in the next bulk merge.

Farid Zaripov added a comment - 17/Apr/08 11:05 AM