Builds w/ TR1-capable compiler have some clashes with Boost
-----------------------------------------------------------

                 Key: QPID-2592
                 URL: https://issues.apache.org/jira/browse/QPID-2592
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker, C++ Client
    Affects Versions: 0.7
            Reporter: Steve Huston
            Priority: Minor


Trying a build with Visual Studio 2010 tripped a few places where the new TR1 
classes/algorithms clash with the Boost equivalents from which they were 
inspired. Although I saw this with VS2010, it's not a Windows/VS-specific 
problem - that's just where it was seen first.

Ones I've seen...

cpp/src/tests/SessionState.cpp use of ref, bind
cpp/src/tests/perftest.cpp use of bind

This could be remedied by removing the "using boost" statements (and/or "using 
std" statements). Also possible is a config check for presence of the TR1 stuff 
and use the TR1 if available, else Boost.

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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to