activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Vishchers (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQCPP-249) activemq/core/ActiveMQSession.cpp fails to compile on Solaris 10 with Sun Studio Compiler
Date Wed, 17 Jun 2009 09:12:35 GMT
activemq/core/ActiveMQSession.cpp fails to compile on Solaris 10 with Sun Studio Compiler
-----------------------------------------------------------------------------------------

                 Key: AMQCPP-249
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-249
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: CMS Impl
    Affects Versions: 3.0
         Environment: CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
            Reporter: Michael Vishchers
            Assignee: Timothy Bish
            Priority: Minor


make aborts with the following error messages:

"activemq/core/ActiveMQSession.cpp", line 437: Error: "activemq::core::ActiveMQSession::createBrowser(const
cms::Queue*)" is expected to return a value.
"activemq/core/ActiveMQSession.cpp", line 451: Error: "activemq::core::ActiveMQSession::createBrowser(const
cms::Queue*, const std::string &)" is expected to return a value.
2 Error(s) detected.


Fix:
Until the createBrowser method is supported, a "	return (cms::QueueBrowser*) NULL;" at the
end of the try blocks in both functions fixes the problem.


-- 
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