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