Václav Haisman
Václav Haisman
Doesn't Visual Studio 2019 support multiple toolsets? You might be able to use existing log4cplus Visual Studio projects but with changes toolset. You would have to do that manually. Alternatively,...
You can exclusively lock the entire hierarchy and then make modifications. See https://github.com/log4cplus/log4cplus/blob/master/src/clogger.cxx#L109.
When is this logging happening? Is this during process shutdown? Your call stack is missing context after `#13`.
I have no idea. I don't see anything wrong with the code. You will have to try and debug this yourself. Can you see if the pointers the `memmove` implementation...
@skovoroad Are you also using CentOS 7 like @nik13513513 does?
Is there a chance that your application is compiled as C++11 or later code but log4cplus is not compiled with C++11 support flags?
There is a function in `appender.cxx`: ```cxx tstring & Appender::formatEvent (const spi::InternalLoggingEvent& event) const { internal::appender_sratch_pad & appender_sp = internal::get_appender_sp (); detail::clear_tostringstream (appender_sp.oss); layout->formatAndAppend(appender_sp.oss, event); appender_sp.oss.str().swap (appender_sp.str); return appender_sp.str; }...
> I don't know for sure and don't have ability to check it , but presumably it is so: library is built without c++11/14/17 support, application with c++17 support. This...
@skovoroad Both with the same one. So, if your app is C++17 use that for log4cplus as well. TBH, I am just fishing. I have no idea if it will...
What is the output of the following command (replace `g++` with the compiler that you use): `echo "" | g++ -dD -E - | grep __STDC_VERSION__` It should show the...