Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-418

HPUX aCC compiler const char[] to initialize char*

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.4
    • 3.5.0
    • Decaf
    • HPUX 11_31
      aCC A.06.26

    Description

      In file src/test/decaf/lang/ArrayPointerTest.cpp and PointerTest.cpp
      constant strings are given as arguments to the function:
      std::make_pair(pointer1,"Bob")

      This was giving an error,
      I fixed it by including <string> and creating:
      std::String name1="Bob";
      and putting that variable in the function call and repeating for each of them in both files.

      The error number was 2144 and can justification is can be seen here:
      http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=2708d7c682f02110d7c682f02110275d6e10RCRD

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            doldrums Jeffrey B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified