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

Problem building on Fedora rawhide

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: qpid-python-1.35.0
    • Fix Version/s: None
    • Component/s: C++ Broker
    • Labels:
    • Environment:

      Fedora rawhide

      Description

      Fails to build in Fedora rawhide:
      /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/Selector.cpp: In member function 'const qpid::broker::Value qpid::broker::MessageSelectorEnv::specialValue(const string&) const':
      /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/Selector.cpp:169:11: error: 'v' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      v = Value();
      ~^~~~~~~~
      /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp: In member function 'qpid::broker::Expression* qpid::broker::Parse::orExpression(qpid::broker::Tokeniser&)':
      /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '((void)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      if (s[1]=='b' || s[1]=='B') {
      /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '((void)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      if (s[1]=='b' || s[1]=='B') {
      /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '((void)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      if (s[1]=='b' || s[1]=='B') {
      /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '((void)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      if (s[1]=='b' || s[1]=='B') {
      /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '((void)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      if (s[1]=='b' || s[1]=='B') {
      /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '((void)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      if (s[1]=='b' || s[1]=='B') {
      cc1plus: all warnings being treated as errors
      make[2]: *** [src/CMakeFiles/qpidbroker.dir/build.make:3234: src/CMakeFiles/qpidbroker.dir/qpid/broker/Selector.cpp.o] Error 1
      /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp: In member function 'qpid::broker::Expression* qpid::broker::Parse::unaryArithExpression(qpid::broker::Tokeniser&)':
      /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '((void)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      if (s[1]=='b' || s[1]=='B') {
      /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '((void)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      if (s[1]=='b' || s[1]=='B') {
      cc1plus: all warnings being treated as errors
      make[2]: *** [src/CMakeFiles/qpidbroker.dir/build.make:3258: src/CMakeFiles/qpidbroker.dir/qpid/broker/SelectorExpression.cpp.o] Error 1

        Attachments

        1. QPID-7709-cpp-uninit.patch
          1.0 kB
          Marko Kohtala

          Issue Links

            Activity

              People

              • Assignee:
                astitcher Andrew Stitcher
                Reporter:
                iboverma Irina Boverman
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: