qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marko Kohtala (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7709) Problem building on Fedora rawhide
Date Wed, 07 Aug 2019 09:41:00 GMT

    [ https://issues.apache.org/jira/browse/QPID-7709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16901931#comment-16901931
] 

Marko Kohtala commented on QPID-7709:
-------------------------------------

I attached a patch to fix the issue. Issue has been there since commit d9ecaca98d93ed033a3888964d97f07feb15eb85
("QPID-6718: Complete parsing for all styles of numeric literals").

> Problem building on Fedora rawhide
> ----------------------------------
>
>                 Key: QPID-7709
>                 URL: https://issues.apache.org/jira/browse/QPID-7709
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: qpid-python-1.35.0
>         Environment: Fedora rawhide
>            Reporter: Irina Boverman
>            Priority: Major
>         Attachments: QPID-7709-cpp-uninit.patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message