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

Irina Boverman commented on QPID-7768:
--------------------------------------

And here:

[ 64%] Built target receiver
make[2]: *** [src/CMakeFiles/qpidbroker.dir/build.make:3234: 
src/CMakeFiles/qpidbroker.dir/qpid/broker/Selector.cpp.o] Error 1

[ 66%] Building CXX object 
src/tests/CMakeFiles/qpid-topic-publisher.dir/qpid-topic-publisher.cpp.o
cd /foo/cpp/cpp-vpath/src/tests && /usr/bin/c++  -DBOOST_TEST_DYN_LINK 
-DXQ_EFFECTIVE_BOOLEAN_VALUE_HPP -I/foo/cpp/src -I/foo/cpp/src/../include 
-I/foo/cpp/cpp-vpath/src -I/foo/cpp/cpp-vpath/src/../include -isystem 
/usr/include/nss3 -isystem /usr/include/nspr4 -I/foo/usr/include 
-I/foo/cpp/src/tests  -fvisibility-inlines-hidden -Werror -pedantic -Wall 
-Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long 
-Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual 
-Wno-deprecated-declarations -Wno-implicit-fallthrough -O2 -g -DNDEBUG   
-pthread -Wno-variadic-macros -o 
CMakeFiles/qpid-topic-publisher.dir/qpid-topic-publisher.cpp.o -c 
/foo/cpp/src/tests/qpid-topic-publisher.cpp
/foo/cpp/src/qpid/broker/SelectorExpression.cpp: In member function 
'qpid::broker::Expression* qpid::broker::Parse::parseExactNumeric(const 
qpid::broker::Token&, bool)':
/foo/cpp/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') {
/foo/cpp/src/qpid/broker/SelectorExpression.cpp: In member function 
'qpid::broker::Expression* 
qpid::broker::Parse::orExpression(qpid::broker::Tokeniser&)':
/foo/cpp/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') {
/foo/cpp/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') {
/foo/cpp/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') {
/foo/cpp/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') {
/foo/cpp/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') {
/foo/cpp/src/qpid/broker/SelectorExpression.cpp: In member function 
'qpid::broker::Expression* 
qpid::broker::Parse::unaryArithExpression(qpid::broker::Tokeniser&)':
/foo/cpp/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') {
/foo/cpp/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

> Problem building on Fedora rawhide
> ----------------------------------
>
>                 Key: QPID-7768
>                 URL: https://issues.apache.org/jira/browse/QPID-7768
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Build
>    Affects Versions: qpid-cpp-1.36.0
>         Environment: [ 78%] Building CXX object 
> src/CMakeFiles/qpidbroker.dir/qpid/broker/SessionAdapter.cpp.o
> cd /builddir/build/BUILD/qpid-cpp-1.36.0/src && /usr/bin/c++  
> -DXQ_EFFECTIVE_BOOLEAN_VALUE_HPP -Dqpidbroker_EXPORTS 
> -I/builddir/build/BUILD/qpid-cpp-1.36.0/src 
> -I/builddir/build/BUILD/qpid-cpp-1.36.0/src/../include -I/usr/include/nss3 
> -I/usr/include/nspr4  -std=c++11 -Wno-implicit-fallthrough 
> -Wno-deprecated-declarations -O2 -g -pipe -Wall -Werror=format-security 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
> --param=ssp-buffer-size=4 -grecord-gcc-switches 
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic  
> -fvisibility-inlines-hidden -Werror -pedantic -Wall -Wextra -Wno-shadow 
> -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long 
> -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
> -Woverloaded-virtual -Wno-error=deprecated-declarations -O2 -g -DNDEBUG -fPIC 
>   -pthread -o CMakeFiles/qpidbroker.dir/qpid/broker/SessionAdapter.cpp.o -c 
> /builddir/build/BUILD/qpid-cpp-1.36.0/src/qpid/broker/SessionAdapter.cpp
> In file included from 
> /builddir/build/BUILD/qpid-cpp-1.36.0/src/qpid/broker/SelectorToken.cpp:22:0:
> /builddir/build/BUILD/qpid-cpp-1.36.0/src/qpid/broker/SelectorToken.h: In 
> member function 'const qpid::broker::Token& 
> qpid::broker::Tokeniser::nextToken()':
> /builddir/build/BUILD/qpid-cpp-1.36.0/src/qpid/broker/SelectorToken.h:67:8: 
> error: '<anonymous>.qpid::broker::Token::type' may be used uninitialized in 
> this function [-Werror=maybe-uninitialized]
>  struct Token {
>         ^~~~~
> cc1plus: all warnings being treated as errors
> make[2]: *** [src/CMakeFiles/qpidbroker.dir/build.make:3282: 
> src/CMakeFiles/qpidbroker.dir/qpid/broker/SelectorToken.cpp.o] Error 1
>            Reporter: Irina Boverman
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to