Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2592

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 0.7
    • JIRA Cleanup
    • C++ Broker, C++ Client
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shuston Stephen D. Huston
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: