From dev-return-10810-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Sun May 25 23:01:27 2008 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 56079 invoked from network); 25 May 2008 23:01:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 May 2008 23:01:27 -0000 Received: (qmail 76302 invoked by uid 500); 25 May 2008 23:01:28 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 76268 invoked by uid 500); 25 May 2008 23:01:28 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 76255 invoked by uid 99); 25 May 2008 23:01:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 May 2008 16:01:28 -0700 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 May 2008 23:00:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 73B92234C125 for ; Sun, 25 May 2008 16:00:54 -0700 (PDT) Message-ID: <1699059778.1211756454469.JavaMail.jira@brutus> Date: Sun, 25 May 2008 16:00:54 -0700 (PDT) From: "Albert Strasheim (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQCPP-176) Work around Visual Studio .NET 2003 covariant return issues In-Reply-To: <1302439143.1211756334400.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQCPP-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43021#action_43021 ] Albert Strasheim commented on AMQCPP-176: ----------------------------------------- Here's an example of an error one typically sees when building with Visual Studio .NET 2003: {noformat} InitDirector.cpp ..\..\activemq-cpp\src\main\activemq\connector\stomp\marshal\MarshalException.h(81) : error C2511: 'decaf::lang::Throwable *activemq::connector::stomp::marshal::MarshalException::clone(void)' : overloaded member function not found in 'activemq::connector::stomp::marshal::MarshalException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\marshal\MarshalException.h(30) : see declaration of 'activemq::connector::stomp::marshal::MarshalException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\marshal\MarshalException.h(81) : error C2511: 'activemq::exceptions::ActiveMQException *activemq::connector::stomp::marshal::MarshalException::clone(void)' : overloaded member function not found in 'activemq::connector::stomp::marshal::MarshalException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\marshal\MarshalException.h(30) : see declaration of 'activemq::connector::stomp::marshal::MarshalException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\marshal\MarshalException.h(81) : error C2511: 'decaf::lang::Throwable *activemq::connector::stomp::marshal::MarshalException::clone(void)' : overloaded member function not found in 'activemq::connector::stomp::marshal::MarshalException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\marshal\MarshalException.h(30) : see declaration of 'activemq::connector::stomp::marshal::MarshalException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\marshal\MarshalException.h(81) : error C2511: 'activemq::exceptions::ActiveMQException *activemq::connector::stomp::marshal::MarshalException::clone(void)' : overloaded member function not found in 'activemq::connector::stomp::marshal::MarshalException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\marshal\MarshalException.h(30) : see declaration of 'activemq::connector::stomp::marshal::MarshalException' ..\..\activemq-cpp\src\main\activemq\connector\ConnectorException.h(79) : error C2511: 'decaf::lang::Throwable *activemq::connector::ConnectorException::clone(void)' : overloaded member function not found in 'activemq::connector::ConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\ConnectorException.h(28) : see declaration of 'activemq::connector::ConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\ConnectorException.h(79) : error C2511: 'activemq::exceptions::ActiveMQException *activemq::connector::ConnectorException::clone(void)' : overloaded member function not found in 'activemq::connector::ConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\ConnectorException.h(28) : see declaration of 'activemq::connector::ConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\ConnectorException.h(79) : error C2511: 'decaf::lang::Throwable *activemq::connector::ConnectorException::clone(void)' : overloaded member function not found in 'activemq::connector::ConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\ConnectorException.h(28) : see declaration of 'activemq::connector::ConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\ConnectorException.h(79) : error C2511: 'activemq::exceptions::ActiveMQException *activemq::connector::ConnectorException::clone(void)' : overloaded member function not found in 'activemq::connector::ConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\ConnectorException.h(28) : see declaration of 'activemq::connector::ConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\StompConnectorException.h(80) : error C2511: 'decaf::lang::Throwable *activemq::connector::stomp::StompConnectorException::clone(void)' : overloaded member function not found in 'activemq::connector::stomp::StompConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\StompConnectorException.h(29) : see declaration of 'activemq::connector::stomp::StompConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\StompConnectorException.h(80) : error C2511: 'activemq::exceptions::ActiveMQException *activemq::connector::stomp::StompConnectorException::clone(void)' : overloaded member function not found in 'activemq::connector::stomp::StompConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\StompConnectorException.h(29) : see declaration of 'activemq::connector::stomp::StompConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\StompConnectorException.h(80) : error C2511: 'activemq::connector::ConnectorException *activemq::connector::stomp::StompConnectorException::clone(void)' : overloaded member function not found in 'activemq::connector::stomp::StompConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\StompConnectorException.h(29) : see declaration of 'activemq::connector::stomp::StompConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\StompConnectorException.h(80) : error C2511: 'decaf::lang::Throwable *activemq::connector::stomp::StompConnectorException::clone(void)' : overloaded member function not found in 'activemq::connector::stomp::StompConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\StompConnectorException.h(29) : see declaration of 'activemq::connector::stomp::StompConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\StompConnectorException.h(80) : error C2511: 'activemq::exceptions::ActiveMQException *activemq::connector::stomp::StompConnectorException::clone(void)' : overloaded member function not found in 'activemq::connector::stomp::StompConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\StompConnectorException.h(29) : see declaration of 'activemq::connector::stomp::StompConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\StompConnectorException.h(80) : error C2511: 'activemq::connector::ConnectorException *activemq::connector::stomp::StompConnectorException::clone(void)' : overloaded member function not found in 'activemq::connector::stomp::StompConnectorException' ..\..\activemq-cpp\src\main\activemq\connector\stomp\StompConnectorException.h(29) : see declaration of 'activemq::connector::stomp::StompConnectorException' {noformat} > Work around Visual Studio .NET 2003 covariant return issues > ----------------------------------------------------------- > > Key: AMQCPP-176 > URL: https://issues.apache.org/activemq/browse/AMQCPP-176 > Project: ActiveMQ C++ Client > Issue Type: Wish > Reporter: Albert Strasheim > Assignee: Nathan Mittler > > It would be very useful if something could be done in the AMQCPP code to work around the issues Visual Studio .NET 2003 has with having base classes with virtual functions as covariant return types. > These problems are alluded to here: > http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=23760&SiteID=1 > Some ideas have been discussed here: > http://www.nabble.com/Unable-to-comile-C%2B%2B-client-on-VC%2B%2B-2003-td14680479s2354.html > but I'm hoping there might be a way to slightly restructure the AMQCPP code instead of resorting to preprocessor directives. > Any ideas I could try would be much appreciated. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.