You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2012/08/07 00:35:03 UTC

[jira] [Resolved] (AMQCPP-418) HPUX aCC compiler const char[] to initialize char*

     [ https://issues.apache.org/jira/browse/AMQCPP-418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQCPP-418.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.5.0

fix applied on trunk
                
> 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 B
>            Assignee: Timothy Bish
>            Priority: Minor
>              Labels: HPUX, compilation, test
>             Fix For: 3.5.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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