Jeffrey Brenwald created AMQCPP-418:
---------------------------------------
Summary: HPUX aCC compiler const char[] to initialize char*
Key: AMQCPP-418
URL: https://issues.apache.org/jira/browse/AMQCPP-418
Project: ActiveMQ C++ Client
Issue Type: Bug
Components: Decaf
Affects Versions: 3.4.4
Environment: HPUX 11_31
aCC A.06.26
Reporter: Jeffrey Brenwald
Assignee: Timothy Bish
Priority: Minor
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira