Victor_VG
Tracker Mod | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору 1>.\far\common/chrono.hpp(86,23): error C2039: 'days': is not a member of 'std::chrono' 1>.\far\common/chrono.hpp(86,23): error C2039: return std::chrono::days(Value); 1>.\far\common/chrono.hpp(86,23): error C2039: ^ (compiling source file configdb.cpp) 1>namespace chrono { (compiling source file configdb.cpp) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\.........\VC\Tools\MSVC\14...16...27023\include\chrono(905): message : see declaration of 'std::chrono' 1>.\far\common/chrono.hpp(86,27): error C3861: 'days': identifier not found 1>.\far\common/chrono.hpp(86,27): error C3861: return std::chrono::days(Value); 1>.\far\common/chrono.hpp(86,27): error C3861: ^ (compiling source file configdb.cpp) 1>.\far\common/chrono.hpp(84,17): error C3615: constexpr function 'literals::operator ""_d' cannot result in a constant expression 1>.\far\common/chrono.hpp(84,17): error C3615: constexpr auto operator"" _d(unsigned long long const Value) noexcept 1>.\far\common/chrono.hpp(84,17): error C3615: ^ (compiling source file configdb.cpp) 1>.\far\common/chrono.hpp(84,17): message : failure was because type 'unknown-type' is not a literal type 1>.\far\common/chrono.hpp(84,17): message : constexpr auto operator"" _d(unsigned long long const Value) noexcept 1>.\far\common/chrono.hpp(84,17): message : ^ (compiling source file configdb.cpp) 1>.\far\common/chrono.hpp(87): message : failure was caused by control reaching the end of a constexpr function 1>.\far\common/chrono.hpp(87): message : } (compiling source file configdb.cpp) 1>configdb.cpp(2067,107): error C2039: 'days': is not a member of 'std::chrono' 1>configdb.cpp(2067,107): error C2039: const auto older = os::chrono::nt_clock::to_hectonanoseconds(os::chrono::nt_clock::now() - std::chrono::days(DaysToKeep)); 1>configdb.cpp(2067,107): error C2039: ^ 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\.........\VC\Tools\MSVC\14...16...27023\include\chrono(905): message : see declaration of 'std::chrono' 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\.........\VC\Tools\MSVC\14...16...27023\include\chrono(905): message : namespace chrono { 1>configdb.cpp(2067,1): error C3861: 'days': identifier not found 1>configdb.cpp(2067,1): error C3861: const auto older = os::chrono::nt_clock::to_hectonanoseconds(os::chrono::nt_clock::now() - std::chrono::days(DaysToKeep)); 1>configdb.cpp(2067,1): error C3861: ^ 1>configdb.cpp(2067,20): error C2789: 'older': an object of const-qualified type must be initialized 1>configdb.cpp(2067,20): error C2789: const auto older = os::chrono::nt_clock::to_hectonanoseconds(os::chrono::nt_clock::now() - std::chrono::days(DaysToKeep)); 1>configdb.cpp(2067,20): error C2789: ^ 1>configdb.cpp(2067): message : see declaration of 'older' 1>configdb.cpp(2067): message : const auto older = os::chrono::nt_clock::to_hectonanoseconds(os::chrono::nt_clock::now() - std::chrono::days(DaysToKeep)); 1>configdb.cpp(2068,1): error C3536: 'older': cannot be used before it is initialized 1>configdb.cpp(2068,1): error C3536: ExecuteStatement(stmtDeleteOldUnlocked, TypeHistory, HistoryName, older, MinimumEntries); 1>configdb.cpp(2068,1): error C3536: ^ 1>configdb.cpp(2266,107): error C2039: 'days': is not a member of 'std::chrono' 1>configdb.cpp(2266,107): error C2039: const auto older = os::chrono::nt_clock::to_hectonanoseconds(os::chrono::nt_clock::now() - std::chrono::days(DaysToKeep)); 1>configdb.cpp(2266,107): error C2039: ^ 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\.........\VC\Tools\MSVC\14...16...27023\include\chrono(905): message : see declaration of 'std::chrono' 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\.........\VC\Tools\MSVC\14...16...27023\include\chrono(905): message : namespace chrono { 1>configdb.cpp(2266,1): error C3861: 'days': identifier not found 1>configdb.cpp(2266,1): error C3861: const auto older = os::chrono::nt_clock::to_hectonanoseconds(os::chrono::nt_clock::now() - std::chrono::days(DaysToKeep)); 1>configdb.cpp(2266,1): error C3861: ^ 1>configdb.cpp(2266,20): error C2789: 'older': an object of const-qualified type must be initialized 1>configdb.cpp(2266,20): error C2789: const auto older = os::chrono::nt_clock::to_hectonanoseconds(os::chrono::nt_clock::now() - std::chrono::days(DaysToKeep)); 1>configdb.cpp(2266,20): error C2789: ^ 1>configdb.cpp(2266): message : see declaration of 'older' 1>configdb.cpp(2266): message : const auto older = os::chrono::nt_clock::to_hectonanoseconds(os::chrono::nt_clock::now() - std::chrono::days(DaysToKeep)); 1>cvtname.cpp 1>datetime.cpp 1>delete.cpp 1>configdb.cpp(2267,1): error C3536: 'older': cannot be used before it is initialized 1>configdb.cpp(2267,1): error C3536: ExecuteStatement(stmtDeleteOldEditor, older, MinimumEntries); 1>configdb.cpp(2267,1): error C3536: ^ 1>.\far\common/chrono.hpp(86,23): error C2039: 'days': is not a member of 'std::chrono' 1>.\far\common/chrono.hpp(86,23): error C2039: return std::chrono::days(Value); 1>.\far\common/chrono.hpp(86,23): error C2039: ^ (compiling source file datetime.cpp) 1>namespace chrono { (compiling source file datetime.cpp) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\.........\VC\Tools\MSVC\14...16...27023\include\chrono(905): message : see declaration of 'std::chrono' 1>.\far\common/chrono.hpp(86,27): error C3861: 'days': identifier not found 1>.\far\common/chrono.hpp(86,27): error C3861: return std::chrono::days(Value); 1>.\far\common/chrono.hpp(86,27): error C3861: ^ (compiling source file datetime.cpp) 1>.\far\common/chrono.hpp(84,17): error C3615: constexpr function 'literals::operator ""_d' cannot result in a constant expression 1>.\far\common/chrono.hpp(84,17): error C3615: constexpr auto operator"" _d(unsigned long long const Value) noexcept 1>.\far\common/chrono.hpp(84,17): error C3615: ^ (compiling source file datetime.cpp) 1>.\far\common/chrono.hpp(84,17): message : failure was because type 'unknown-type' is not a literal type 1>.\far\common/chrono.hpp(84,17): message : constexpr auto operator"" _d(unsigned long long const Value) noexcept 1>.\far\common/chrono.hpp(84,17): message : ^ (compiling source file datetime.cpp) 1>.\far\common/chrono.hpp(87): message : failure was caused by control reaching the end of a constexpr function 1>.\far\common/chrono.hpp(87): message : } (compiling source file datetime.cpp) 1>datetime.cpp(538,9): error C3861: 'days': identifier not found 1>datetime.cpp(538,9): error C3861: return days(DateN[0]) + hours(TimeN[0]) + minutes(TimeN[1]) + seconds(TimeN[2]) + os::chrono::hectonanoseconds(TimeN[3]); 1>datetime.cpp(538,9): error C3861: ^ 1>datetime.cpp(662,37): error C2065: 'days': undeclared identifier 1>datetime.cpp(662,37): error C2065: const auto Result = split_duration<days, hours, minutes, seconds, os::chrono::hectonanoseconds>(Duration); 1>datetime.cpp(662,37): error C2065: ^ 1>datetime.cpp(662,96): error C3544: 'tuple_types': parameter pack expects a type template argument 1>datetime.cpp(662,96): error C3544: const auto Result = split_duration<days, hours, minutes, seconds, os::chrono::hectonanoseconds>(Duration); 1>datetime.cpp(662,96): error C3544: ^ 1>datetime.cpp(662,97): error C3544: 'tuple_types': parameter pack expects a type template argument 1>datetime.cpp(662,97): error C3544: const auto Result = split_duration<days, hours, minutes, seconds, os::chrono::hectonanoseconds>(Duration); 1>datetime.cpp(662,97): error C3544: ^ 1>datetime.cpp(666,18): error C2065: 'days': undeclared identifier 1>datetime.cpp(666,18): error C2065: str(Result...get<days>() / 1_d), 1>datetime.cpp(666,18): error C2065: ^ 1>datetime.cpp(666): error C2672: 'split_duration<>::get': no matching overloaded function found 1>datetime.cpp(666): error C2672: str(Result...get<days>() / 1_d), 1>datetime.cpp(666,24): error C2974: 'split_duration<>::get': invalid template argument for 'type', type expected 1>datetime.cpp(666,24): error C2974: str(Result...get<days>() / 1_d), 1>datetime.cpp(666,24): error C2974: ^ 1>.\far\common/chrono.hpp(56): message : see declaration of 'split_duration<>::get' 1>.\far\common/chrono.hpp(56): message : const type& get() const 1>datetime.cpp(665,2): error C2440: 'return': cannot convert from 'initializer list' to 'std::tuple<string,string>' 1>datetime.cpp(665,2): error C2440: { 1>datetime.cpp(665,2): error C2440: ^ 1>datetime.cpp(675,3): message : No constructor could take the source type, or constructor overload resolution was ambiguous 1>datetime.cpp(675,3): message : }; 1>datetime.cpp(675,3): message : ^ 1>Done building project "far.vcxproj" -- FAILED... ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== | Всего записей: 33201 | Зарегистр. 31-07-2002 | Отправлено: 12:56 27-06-2021 | Исправлено: Victor_VG, 13:55 27-06-2021 |
|