You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Albert Strasheim (JIRA)" <ji...@apache.org> on 2008/05/26 00:58:54 UTC

[jira] Created: (AMQCPP-176) Work around Visual Studio .NET 2003 covariant return issues

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.


[jira] Commented: (AMQCPP-176) Work around Visual Studio .NET 2003 covariant return issues

Posted by "Albert Strasheim (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46649#action_46649 ] 

Albert Strasheim commented on AMQCPP-176:
-----------------------------------------

Now that Python 2.6 has been released, this isn't really a problem for me anymore.

> 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: Timothy Bish
>             Fix For: 2.3
>
>
> 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.


[jira] Resolved: (AMQCPP-176) Work around Visual Studio .NET 2003 covariant return issues

Posted by "Jared Santore (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jared Santore resolved AMQCPP-176.
----------------------------------

    Resolution: Fixed

> 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
>             Fix For: 2.2.1
>
>
> 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.


[jira] Reopened: (AMQCPP-176) Work around Visual Studio .NET 2003 covariant return issues

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish reopened AMQCPP-176:
---------------------------------

      Assignee: Timothy Bish  (was: Nathan Mittler)

Should not have been closed

> 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: Timothy Bish
>             Fix For: 2.2.1
>
>
> 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.


[jira] Commented: (AMQCPP-176) Work around Visual Studio .NET 2003 covariant return issues

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43042#action_43042 ] 

Timothy Bish commented on AMQCPP-176:
-------------------------------------

Changing to code to remove the use of language features that have been in the standard for a decade seems wrong to me.  

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


[jira] Commented: (AMQCPP-176) Work around Visual Studio .NET 2003 covariant return issues

Posted by "Albert Strasheim (JIRA)" <ji...@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.


[jira] Updated: (AMQCPP-176) Work around Visual Studio .NET 2003 covariant return issues

Posted by "Nathan Mittler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Mittler updated AMQCPP-176:
----------------------------------

    Fix Version/s: 2.2.1

> 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: Timothy Bish
>             Fix For: 2.2.1
>
>
> 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.


[jira] Closed: (AMQCPP-176) Work around Visual Studio .NET 2003 covariant return issues

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQCPP-176.
-------------------------------

    Resolution: Won't Fix

> 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: Timothy Bish
>             Fix For: 2.3
>
>
> 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.


[jira] Updated: (AMQCPP-176) Work around Visual Studio .NET 2003 covariant return issues

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish updated AMQCPP-176:
--------------------------------

    Fix Version/s:     (was: 2.2.1)

> 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: Timothy Bish
>
> 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.


[jira] Updated: (AMQCPP-176) Work around Visual Studio .NET 2003 covariant return issues

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish updated AMQCPP-176:
--------------------------------

    Fix Version/s: 2.3
                       (was: 2.2.1)

> 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: Timothy Bish
>             Fix For: 2.3
>
>
> 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.


[jira] Updated: (AMQCPP-176) Work around Visual Studio .NET 2003 covariant return issues

Posted by "Nathan Mittler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Mittler updated AMQCPP-176:
----------------------------------

    Fix Version/s: 2.2.1

> 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
>             Fix For: 2.2.1
>
>
> 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.