-
Notifications
You must be signed in to change notification settings - Fork 7.3k
lwlog update to 1.5.0 #49080
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
lwlog update to 1.5.0 #49080
Conversation
BillyONeal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix version DB
Change Dir: 'D:/b/lwlog/x86-windows-dbg'
Run Build Command(s): D:/downloads/tools/ninja/1.13.2-windows/ninja.exe -v -v -j33 install
[1/6] C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x86\cl.exe /TP -ID:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -MDd /showIncludes /FoCMakeFiles\lwlog_lib.dir\lwlog\include\details\topic_registry.cpp.obj /FdCMakeFiles\lwlog_lib.dir\lwlog_lib.pdb /FS -c D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\details\topic_registry.cpp
[2/6] C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x86\cl.exe /TP -ID:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -MDd /showIncludes /FoCMakeFiles\lwlog_lib.dir\lwlog\include\details\pattern\attribute.cpp.obj /FdCMakeFiles\lwlog_lib.dir\lwlog_lib.pdb /FS -c D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\details\pattern\attribute.cpp
[3/6] C:\Windows\system32\cmd.exe /C "cd . && C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x86\lib.exe /machine:X86 /nologo /out:lwlog_lib.lib CMakeFiles\lwlog_lib.dir\lwlog\include\details\topic_registry.cpp.obj CMakeFiles\lwlog_lib.dir\lwlog\include\details\pattern\attribute.cpp.obj && cd ."
[4/6] C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x86\cl.exe /TP -ID:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -MDd /showIncludes /FoCMakeFiles\lwlog_sandbox.dir\Sandbox\Sandbox.cpp.obj /FdCMakeFiles\lwlog_sandbox.dir\ /FS -c D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\Sandbox\Sandbox.cpp
FAILED: [code=2] CMakeFiles/lwlog_sandbox.dir/Sandbox/Sandbox.cpp.obj
C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x86\cl.exe /TP -ID:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /MDd /Z7 /Ob0 /Od /RTC1 -std:c++17 -MDd /showIncludes /FoCMakeFiles\lwlog_sandbox.dir\Sandbox\Sandbox.cpp.obj /FdCMakeFiles\lwlog_sandbox.dir\ /FS -c D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\Sandbox\Sandbox.cpp
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\details\os\datetime_utility_impl.h(44): error C2397: conversion from 'uint64_t' to 'size_t' requires a narrowing conversion
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\details\os\datetime_utility_impl.h(44): note: the template instantiation context (the oldest one first) is
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\Sandbox\Sandbox.cpp(24): note: see reference to function template instantiation 'std::shared_ptr<lwlog::logger<lwlog::default_memory_buffer_limits,lwlog::asynchronous_policy<lwlog::block_overflow_policy,1024,18446744073709551615>,lwlog::immediate_flush_policy,lwlog::single_threaded_policy,lwlog::sinks::stdout_sink>> std::make_shared<lwlog::logger<lwlog::default_memory_buffer_limits,lwlog::asynchronous_policy<lwlog::block_overflow_policy,1024,18446744073709551615>,lwlog::immediate_flush_policy,lwlog::single_threaded_policy,lwlog::sinks::stdout_sink>,const char(&)[8]>(const char (&)[8])' being compiled
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\memory(2913): note: see reference to function template instantiation 'std::_Ref_count_obj2<_Ty>::_Ref_count_obj2<const char(&)[8]>(const char (&)[8])' being compiled
with
[
_Ty=lwlog::logger<lwlog::default_memory_buffer_limits,lwlog::asynchronous_policy<lwlog::block_overflow_policy,1024,18446744073709551615>,lwlog::immediate_flush_policy,lwlog::single_threaded_policy,lwlog::sinks::stdout_sink>
]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\memory(2100): note: see reference to function template instantiation 'void std::_Construct_in_place<_Ty,const char(&)[8]>(_Ty &,const char (&)[8]) noexcept(false)' being compiled
with
[
_Ty=lwlog::logger<lwlog::default_memory_buffer_limits,lwlog::asynchronous_policy<lwlog::block_overflow_policy,1024,18446744073709551615>,lwlog::immediate_flush_policy,lwlog::single_threaded_policy,lwlog::sinks::stdout_sink>
]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\xutility(476): note: see reference to function template instantiation 'lwlog::logger<lwlog::default_memory_buffer_limits,lwlog::asynchronous_policy<lwlog::block_overflow_policy,1024,18446744073709551615>,lwlog::immediate_flush_policy,lwlog::single_threaded_policy,lwlog::sinks::stdout_sink>::logger<>(std::string_view)' being compiled
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\logger_impl.h(17): note: see reference to function template instantiation 'std::shared_ptr<lwlog::interface::sink<BufferLimits>> lwlog::sinks::sink_factory<BufferLimits,lwlog::sinks::stdout_sink<BufferLimits,FlushPolicy,ThreadingPolicy>>::request<>(void)' being compiled
with
[
BufferLimits=lwlog::default_memory_buffer_limits,
FlushPolicy=lwlog::immediate_flush_policy,
ThreadingPolicy=lwlog::single_threaded_policy
]
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\sinks/sink_factory.h(17): note: see reference to variable template 'const bool is_constructible_v<lwlog::sinks::stdout_sink<lwlog::memory_buffer_limits<lwlog::pattern_limit<256>,lwlog::message_limit<128>,lwlog::argument_limit<64>,lwlog::arg_count_limit<4>,lwlog::padding_limit<24>,lwlog::conv_limit<64> >,lwlog::immediate_flush_policy,lwlog::single_threaded_policy> >' being compiled
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\type_traits(718): note: see reference to class template instantiation 'lwlog::sinks::stdout_sink<BufferLimits,FlushPolicy,ThreadingPolicy>' being compiled
with
[
BufferLimits=lwlog::default_memory_buffer_limits,
FlushPolicy=lwlog::immediate_flush_policy,
ThreadingPolicy=lwlog::single_threaded_policy
]
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\sinks/stdout_sink.h(29): note: while compiling class template member function 'void lwlog::sinks::stdout_sink<BufferLimits,FlushPolicy,ThreadingPolicy>::sink_it(const lwlog::details::record<BufferLimits> &)'
with
[
BufferLimits=lwlog::default_memory_buffer_limits,
FlushPolicy=lwlog::immediate_flush_policy,
ThreadingPolicy=lwlog::single_threaded_policy
]
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\details\pattern\pattern_impl.h(10): note: while compiling class template member function 'const char *lwlog::details::pattern<BufferLimits>::compile(const lwlog::details::record<BufferLimits> &)'
with
[
BufferLimits=lwlog::default_memory_buffer_limits
]
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\details\pattern\pattern_impl.h(205): note: while compiling class template member function 'std::unique_ptr<lwlog::details::formatter<BufferLimits>,std::default_delete<lwlog::details::formatter<BufferLimits>>> lwlog::details::pattern<BufferLimits>::flag_to_formatter(std::string_view) const'
with
[
BufferLimits=lwlog::default_memory_buffer_limits
]
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\details\pattern\pattern_impl.h(76): note: see the first reference to 'lwlog::details::pattern<BufferLimits>::flag_to_formatter' in 'lwlog::details::pattern<BufferLimits>::request_flag_formatters'
with
[
BufferLimits=lwlog::default_memory_buffer_limits
]
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\sinks\sink_impl.h(63): note: see the first reference to 'lwlog::details::pattern<BufferLimits>::request_flag_formatters' in 'lwlog::sinks::sink<true,BufferLimits,ThreadingPolicy>::set_pattern'
with
[
BufferLimits=lwlog::default_memory_buffer_limits
]
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\details\pattern\pattern_impl.h(328): note: while compiling class template member function 'std::unique_ptr<lwlog::details::formatter<BufferLimits>,std::default_delete<lwlog::details::formatter<BufferLimits>>>::unique_ptr(std::unique_ptr<_Ux,_Dx> &&) noexcept'
with
[
BufferLimits=lwlog::default_memory_buffer_limits
]
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\details\pattern\pattern_impl.h(328): note: while processing the default template argument of 'std::unique_ptr<lwlog::details::formatter<BufferLimits>,std::default_delete<lwlog::details::formatter<BufferLimits>>>::unique_ptr(std::unique_ptr<_Ux,_Dx> &&) noexcept'
with
[
BufferLimits=lwlog::default_memory_buffer_limits
]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\memory(3392): note: see reference to variable template 'const bool conjunction_v<std::negation<std::is_array<lwlog::details::nanosecond_formatter<lwlog::memory_buffer_limits<lwlog::pattern_limit<256>,lwlog::message_limit<128>,lwlog::argument_limit<64>,lwlog::arg_count_limit<4>,lwlog::padding_limit<24>,lwlog::conv_limit<64> > > > >,std::is_convertible<lwlog::details::nanosecond_formatter<lwlog::memory_buffer_limits<lwlog::pattern_limit<256>,lwlog::message_limit<128>,lwlog::argument_limit<64>,lwlog::arg_count_limit<4>,lwlog::padding_limit<24>,lwlog::conv_limit<64> > > *,lwlog::details::formatter<lwlog::memory_buffer_limits<lwlog::pattern_limit<256>,lwlog::message_limit<128>,lwlog::argument_limit<64>,lwlog::arg_count_limit<4>,lwlog::padding_limit<24>,lwlog::conv_limit<64> > > *>,std::is_convertible<std::default_delete<lwlog::details::nanosecond_formatter<lwlog::memory_buffer_limits<lwlog::pattern_limit<256>,lwlog::message_limit<128>,lwlog::argument_limit<64>,lwlog::arg_count_limit<4>,lwlog::padding_limit<24>,lwlog::conv_limit<64> > > >,std::default_delete<lwlog::details::formatter<lwlog::memory_buffer_limits<lwlog::pattern_limit<256>,lwlog::message_limit<128>,lwlog::argument_limit<64>,lwlog::arg_count_limit<4>,lwlog::padding_limit<24>,lwlog::conv_limit<64> > > > > >' being compiled
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\memory(3392): note: see reference to class template instantiation 'std::is_convertible<lwlog::details::nanosecond_formatter<BufferLimits> *,_Ty *>' being compiled
with
[
BufferLimits=lwlog::default_memory_buffer_limits,
_Ty=lwlog::details::formatter<lwlog::default_memory_buffer_limits>
]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\type_traits(323): note: see reference to class template instantiation 'lwlog::details::nanosecond_formatter<BufferLimits>' being compiled
with
[
BufferLimits=lwlog::default_memory_buffer_limits
]
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\details\pattern\formatters.h(489): note: while compiling class template member function 'void lwlog::details::nanosecond_formatter<BufferLimits>::format(lwlog::details::memory_buffer<256> &,char *,const lwlog::details::record<BufferLimits> &) const'
with
[
BufferLimits=lwlog::default_memory_buffer_limits
]
D:\b\lwlog\src\v1.5.0-ed284ab8ec.clean\lwlog\include\details\pattern\formatters.h(496): note: see reference to function template instantiation 'lwlog::details::os::datetime::timestamp_builder<9> &lwlog::details::os::datetime::timestamp_builder<9>::append<9>(size_t)' being compiled
ninja: build stopped: subcommand failed. |
Are you trying to build for 32-bit? lwlog only targets x64 |
vicroms
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you trying to build for 32-bit? lwlog only targets x64
Add "!x86" to the supports expression to reflect this.
No description provided.