Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
qpid-cpp-1.36.0
-
None
-
None
-
[ 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[ 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
Attachments
Issue Links
- duplicates
-
QPID-7893 compilation failure on Fedora 26
- Resolved