qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irina Boverman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7768) Problem building on Fedora rawhide
Date Thu, 04 May 2017 18:36:04 GMT

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

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

[ 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

> 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.3.15#6346)

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


Mime
View raw message