+cc zuyu wisconsin email Zuyu this error is I believe caused by a recent change to a distributed component that uses tmb. This is a blocker for RC6 with the HEAD of master.
If this is easy to fix, could you address it today. The variable in question was added here: https://github.com/apache/incubator-quickstep/commit/1cfc1c40e2bcf7ff8671d5b899a8304c9e9fd455 On Tue, Mar 7, 2017 at 1:08 PM, Jignesh Patel <jmp.quicks...@gmail.com> wrote: > Sadly TMB is not optional ☹ > > On 3/6/17, 4:17 PM, "Marc Spehlmann" <spehl.apa...@gmail.com> wrote: > > Hi all, > Anyone know if tmb is an optional component? I was putting together > release > artifacts for 0.1.0rc6 and got this compile warn->error on an ubuntu > machine. It seems that a variable which was previously used is no > longer > used. > > tmb is a third party library. Zuyu, you mentioned it would be better to > turn off warning->error flags for third party. What do you think would > be > prudent in this case? > > compiler: > cxxdev@e1428abc6dae:~/incubator-quickstep/build$ cc --version > cc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 > Copyright (C) 2015 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There > is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > error: > [ 13%] Building CXX object > third_party/tmb/CMakeFiles/tmb.dir/src/message_bus.cc.o > /home/cxxdev/incubator-quickstep/release/svn-quickstep-dev/0.1.0/RC6/ > apache-quickstep-incubating-0.1.0/third_party/src/tmb/src/ > message_bus.cc:43:19: > error: ‘tmb::tmb_receive_poll_interval_dummy’ defined but not used > [-Werror=unused-variable] > static const bool tmb_receive_poll_interval_dummy = > gflags::RegisterFlagValidator( > ^ > cc1plus: error: unrecognized command line option > ‘-Wno-return-type-c-linkage’ [-Werror] > cc1plus: all warnings being treated as errors > third_party/tmb/CMakeFiles/tmb.dir/build.make:62: recipe for target > 'third_party/tmb/CMakeFiles/tmb.dir/src/message_bus.cc.o' failed > make[2]: *** [third_party/tmb/CMakeFiles/tmb.dir/src/message_bus.cc.o] > Error 1 > CMakeFiles/Makefile2:1172: recipe for target > 'third_party/tmb/CMakeFiles/tmb.dir/all' failed > make[1]: *** [third_party/tmb/CMakeFiles/tmb.dir/all] Error 2 > Makefile:138: recipe for target 'all' failed > make: *** [all] Error 2 > > > >