Need help with migrating to 0.12.0

2021-08-15 Thread Achmad Fathoni
This sample program can be compiled with 0.11.0 but not 0.12.0. The error is "Cannot convert ‘ROSConsoleStdioAppender*’ to ‘log4cxx::App enderPtr’ {aka ‘std::shared_ptr’}". What change do I need to make it works with 0,12.0? Thank you. #include #include #include #include #include #include u

Re: Need help with migrating to 0.12.0

2021-08-15 Thread Robert Middleton
Technical reason: Since the new version of log4cxx uses std::shared_ptr(instead of the homegrown smart pointer solution), you need to slightly modify your code to work. The reason for the shared_ptr is that it's standard, and it fixes some bugs with regards to reference counting. The original hom

Re: Need help with migrating to 0.12.0

2021-08-15 Thread Achmad Fathoni
Thank you very much! On Sun, Aug 15, 2021, 19:05 Robert Middleton wrote: > Technical reason: > Since the new version of log4cxx uses std::shared_ptr(instead of the > homegrown smart pointer solution), you need to slightly modify your code to > work. The reason for the shared_ptr is that it's st