Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-615

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.1
    • Component/s: Tests
    • Labels:
      None
    • Environment:

      HP aCC 3.73

    • Severity:
      Compiler Error

      Description

      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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebor Martin Sebor
                Reporter:
                sebor Martin Sebor
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h