icinga2/lib
Jan Beich 106be295eb Explicitly use long with boost::posix_time
In file included from lib/base/base_unity.cpp:61:
lib/base/timer.cpp:295:31: error: no matching conversion for functional-style cast from 'double' to 'boost::posix_time::milliseconds' (aka 'subsecond_duration<boost::posix_time::time_duration, 1000>')
                        l_TimerCV.timed_wait(lock, boost::posix_time::milliseconds(wait * 1000));
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from lib/remote/remote_unity.cpp:19:
lib/remote/eventqueue.cpp:111:30: error: no matching conversion for functional-style cast from 'double' to 'boost::posix_time::milliseconds' (aka 'subsecond_duration<boost::posix_time::time_duration, 1000>')
                if (!m_CV.timed_wait(lock, boost::posix_time::milliseconds(timeout * 1000)))
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from lib/checker/checker_unity.cpp:1:
lib/checker/checkercomponent.cpp:128:26: error: no matching conversion for functional-style cast from 'double' to 'boost::posix_time::milliseconds' (aka 'subsecond_duration<boost::posix_time::time_duration, 1000>')
                        m_CV.timed_wait(lock, boost::posix_time::milliseconds(wait * 1000));
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/date_time/time_duration.hpp:270:30: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'double' to 'const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>' for 1st argument
  class BOOST_SYMBOL_VISIBLE subsecond_duration : public base_duration
                             ^
/usr/local/include/boost/date_time/time_duration.hpp:270:30: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'double' to 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>' for 1st argument
/usr/local/include/boost/date_time/time_duration.hpp:286:59: note: candidate template ignored: disabled by 'enable_if' [with T = double]
                                typename boost::enable_if<boost::is_integral<T>, void>::type* = 0) :
                                                          ^
2018-04-15 04:06:11 +00:00
..
base Explicitly use long with boost::posix_time 2018-04-15 04:06:11 +00:00
checker Explicitly use long with boost::posix_time 2018-04-15 04:06:11 +00:00
cli Implement support for connection-less node setup (no csr auto-signing connect) 2018-04-06 19:49:01 +02:00
compat Deprecate Statusdatawriter 2018-04-05 09:32:07 +02:00
config Fix wrong type logging in ConfigItem::Commit 2018-02-09 14:04:50 +01:00
db_ido Fix whitespaces in CMakeLists files 2018-01-19 09:19:40 +01:00
db_ido_mysql Fix whitespaces in CMakeLists files 2018-01-19 09:19:40 +01:00
db_ido_pgsql Fix whitespaces in CMakeLists files 2018-01-19 09:19:40 +01:00
icinga fix bug in Downtime::IsInEffect() method that would always return false if the triggering window for a flexible downtime had passed 2018-04-10 20:16:09 +02:00
livestatus Remove unused includes 2018-01-22 09:52:29 +01:00
methods Add counter for current concurrent checks to Icinga check 2018-03-01 15:01:55 +01:00
mysql_shim Fix whitespaces in CMakeLists files 2018-01-19 09:19:40 +01:00
notification Fix whitespaces in CMakeLists files 2018-01-19 09:19:40 +01:00
perfdata Merge pull request #6196 from Icinga/fix/influxdb-escaping 2018-04-05 15:27:06 +02:00
pgsql_shim Fix whitespaces in CMakeLists files 2018-01-19 09:19:40 +01:00
remote Explicitly use long with boost::posix_time 2018-04-15 04:06:11 +00:00
CMakeLists.txt Remove libdemo and libhello 2018-01-11 13:29:11 +01:00