rosconsole
rosconsole copied to clipboard
Compatibility fix for liblog4cxx v0.11-0.13
- Partially implements (manually) changes suggested both in https://github.com/ros/rosconsole/pull/54 and orphaned commit e3753eec58bf4e76012d019fd307349f94d1d0be
- Sets up pointer-level compatibility with both new and old
log4cxx
versions - Adds a workaround for API breaking changes in
liblog4cxx
I would be very much appreciated if someone would test this code also on liblog4cxx
version 0.11 to avoid wrong API calls.
I've validated this patch with GCC 12 / log4cxx 1.1.0 on NixOS 23.05.
Looks good to me. 🚢
This fixes my failing build on Ubuntu 23.10
Just confirming this also allows log4cxx versions 0.13 and 1.1.0 on Fedora to work.
This fixes my failing build on Raspberry Pi OS(Debian 12 bookworm based). Thanks.
Is anyone hitting runtime issues with this patch? I'm seeing nodes crash in log4cxx
if they call ros::console::set_logger_level
more than once.