Compare commits
5 Commits
61ab4d8d58
...
7705432820
Author | SHA1 | Date | |
---|---|---|---|
7705432820 | |||
f150832676 | |||
80c9375d65 | |||
48ddff9e85 | |||
6f64fe02d5 |
@ -242,6 +242,7 @@ usermount
|
||||
userprofile
|
||||
utimens
|
||||
utimensat
|
||||
waggressive
|
||||
wcast
|
||||
wconversion
|
||||
wdouble
|
||||
|
@ -24,8 +24,9 @@
|
||||
|
||||
#if defined(__GNUC__)
|
||||
// clang-format off
|
||||
#define REPERTORY_IGNORE_WARNINGS_ENABLE() \
|
||||
#define REPERTORY_IGNORE_WARNINGS_ENABLE() \
|
||||
_Pragma("GCC diagnostic push") \
|
||||
_Pragma("GCC diagnostic ignored \"-Waggressive-loop-optimizations\"") \
|
||||
_Pragma("GCC diagnostic ignored \"-Wconversion\"") \
|
||||
_Pragma("GCC diagnostic ignored \"-Wdouble-promotion\"") \
|
||||
_Pragma("GCC diagnostic ignored \"-Wduplicated-branches\"") \
|
||||
@ -121,6 +122,7 @@ template <typename data_type>
|
||||
#include <boost/archive/text_iarchive.hpp>
|
||||
#include <boost/archive/text_oarchive.hpp>
|
||||
#include <boost/asio.hpp>
|
||||
#include <boost/asio/io_context.hpp>
|
||||
#include <boost/bind/bind.hpp>
|
||||
#include <boost/dynamic_bitset.hpp>
|
||||
#include <boost/dynamic_bitset/serialization.hpp>
|
||||
|
@ -5,6 +5,10 @@ BUILD_CLEAN=$2
|
||||
IS_MINGW=$3
|
||||
IS_WIN32=$4
|
||||
|
||||
if [ "${BUILD_TYPE}" == "" ]; then
|
||||
BUILD_TYPE=Release
|
||||
fi
|
||||
|
||||
if [ "${IS_MINGW}" == "1" ] || [ "${IS_WIN32}" == "1" ]; then
|
||||
BUILD_ROOT=build2
|
||||
else
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
pushd "$(dirname "$0")/.."
|
||||
scripts/make_common.sh ${1} "${2}" 1
|
||||
scripts/make_common.sh "${1}" "${2}" 1
|
||||
popd
|
||||
|
@ -11,6 +11,9 @@ NAME=alpine
|
||||
if [ -z "${BUILD_ARCH}" ]; then
|
||||
BUILD_ARCH=64_bit
|
||||
fi
|
||||
if [ -z "${BUILD_TYPE}" ]; then
|
||||
BUILD_TYPE=Release
|
||||
fi
|
||||
|
||||
ln -sf ${SOURCE_DIR}/build/compile_commands.json ${SOURCE_DIR}/compile_commands.json
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
@echo off
|
||||
|
||||
pushd "%~dp0%.."
|
||||
mingw64 scripts/make_common.sh %1 "%2" 0 1
|
||||
mingw64 scripts/make_common.sh "%1" "%2" 0 1
|
||||
popd
|
||||
|
@ -7,5 +7,4 @@ pacman -Sqyuu --noconfirm &&
|
||||
mingw64/mingw-w64-x86_64-make \
|
||||
mingw64/mingw-w64-x86_64-toolchain \
|
||||
msys/git \
|
||||
msys/mercurial \
|
||||
make
|
||||
|
@ -53,8 +53,9 @@ auto eviction::check_minimum_requirements(const std::string &file_path)
|
||||
const auto now = std::chrono::system_clock::now();
|
||||
const auto delay =
|
||||
std::chrono::minutes(config_.get_eviction_delay_mins());
|
||||
ret = ((std::chrono::system_clock::from_time_t(reference_time) + delay) <=
|
||||
now);
|
||||
ret = ((std::chrono::system_clock::from_time_t(
|
||||
static_cast<time_t>(reference_time)) +
|
||||
delay) <= now);
|
||||
#else
|
||||
const auto now = utils::get_time_now();
|
||||
const auto delay =
|
||||
|
Reference in New Issue
Block a user