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

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.2.0
    • 4.2.1
    • Tests
    • None
    • HP aCC 3.73

    • 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

              sebor Martin Sebor
              sebor Martin Sebor
              Votes:
              0 Vote for this issue
              Watchers:
              0 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