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

Release builds fail on GCC 4.4.7 / Boost 1.41

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21, 0.22, 0.23
    • 0.23
    • C++ Broker
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              astitcher Andrew Stitcher
              astitcher Andrew Stitcher
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: