Qpid
  1. Qpid
  2. QPID-4734

Release builds fail on GCC 4.4.7 / Boost 1.41

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21, 0.22, 0.23
    • Fix Version/s: 0.23
    • Component/s: C++ Broker
    • Labels:
      None
    • Environment:

      gcc 4.4.7 and boost 1.41 on RHEL 6

      Description

      build fails with warnings turned to errors when compiling SocketTransport.cpp:

      These are potentially uninitialised variable warnings in boost::bind and boost::function templates and so the underlying code can't be changed by us.

      It appears that the cause here is either (or some combination):

      • The compiler's flow analysis is incorrect.
      • The compiler misinterprets the warning as being in the location that the template instantiation happened (our code) and so ignores the -Wno-system-headers flag which should stop it reporting warnings in the system headers.
      • There is an issue in the boost code.

      In any of these cases there is little that we can do except suppress the warning.

        Issue Links

          Activity

          Justin Ross made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jimmy Jones made changes -
          Link This issue is duplicated by QPID-4722 [ QPID-4722 ]
          Andrew Stitcher made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 0.23 [ 12324273 ]
          Resolution Fixed [ 1 ]
          Andrew Stitcher created issue -

            People

            • Assignee:
              Andrew Stitcher
              Reporter:
              Andrew Stitcher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development