activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian McFarland (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQCPP-253) Problems with compiler aCC on HPUX
Date Tue, 10 Nov 2009 16:11:52 GMT

    [ https://issues.apache.org/activemq/browse/AMQCPP-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55273#action_55273
] 

Brian McFarland commented on AMQCPP-253:
----------------------------------------

What does your Socket.h look like with the changes to TcpSocket.cpp?

I keep getting the following error:
Error 744: "decaf/net/TcpSocket.cpp", line 32 # The operand of a static_cast must be a pointer
to or lvalue of a complete class; the
    actual type was apr_socket_t *.
      : socketHandle( static_cast< SocketHandle >((apr_socket_t*)INVALID_SOCKET_HANDLE)
),

I've tried it with and without the (apr_socket_t*) cast in TcpSocket.cpp.   Also tried it
with/wo the changes to Socket.h where INVALID_SOCKET_HANDLE was changed from int to apr_socket_t*
and it's intialization is placed outside of the class declaration.

My environment:
bash-2.04$ uname -srvm
HP-UX B.11.23 U ia64
bash-2.04$ aCC --version
aCC: HP aC++/ANSI C B3910B A.05.52 [Sep 05 2003]


> Problems with compiler aCC on HPUX
> ----------------------------------
>
>                 Key: AMQCPP-253
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-253
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>    Affects Versions: 3.0
>         Environment: HP-UX gemma1 B.11.23 U 9000/800
> aCC: HP ANSI C++ B3910B A.03.77
>            Reporter: Wolfgang.Klein
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: amq_cpp_30.tar, TcpSocket.cpp
>
>
> compile errors with native HP compiler

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message