Repository: incubator-quickstep Updated Branches: refs/heads/master 942dc69ab -> d3b3b465a
volatile keyword fixes gcc compile error Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/d3b3b465 Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/d3b3b465 Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/d3b3b465 Branch: refs/heads/master Commit: d3b3b465a0a5bbd34d4524450621e6f8f421ee8e Parents: 942dc69 Author: cramja <marc.spehlm...@gmail.com> Authored: Tue Mar 7 16:34:34 2017 -0600 Committer: cramja <marc.spehlm...@gmail.com> Committed: Tue Mar 7 16:34:34 2017 -0600 ---------------------------------------------------------------------- third_party/src/tmb/src/message_bus.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/d3b3b465/third_party/src/tmb/src/message_bus.cc ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/src/message_bus.cc b/third_party/src/tmb/src/message_bus.cc index 7fd0efb..1398db5 100644 --- a/third_party/src/tmb/src/message_bus.cc +++ b/third_party/src/tmb/src/message_bus.cc @@ -40,7 +40,7 @@ static bool ValidateTmbReceivePollInterval(const char *flagname, DEFINE_int32(tmb_receive_poll_interval, 50, "The number of milliseconds to sleep between calls to ReceiveIfAvailableImpl() " "in the default active-polling implementation of ReceiveImpl()."); -static const bool tmb_receive_poll_interval_dummy = gflags::RegisterFlagValidator( +static volatile const bool tmb_receive_poll_interval_dummy = gflags::RegisterFlagValidator( &FLAGS_tmb_receive_poll_interval, &ValidateTmbReceivePollInterval);