boost::log and ENABLE_LOGGER is incompatibile with CHUNKSIZE
Longer discussion on this topic is in comments: !602 (merged)
The problem is here, duplicate declarations of variable called logger. It is to enable logging when class member logger is unavailable. I wonder if there is a way to go somehow around this error. Currently I don't know.
The workaround is of course to ENABLE_LOGGER=OFF, and use the unfiltered logging.
If we ever feel like bringing CHUNKSIZE back I started doing the fixes in branch https://gitlab.com/yade-dev/trunk/-/commits/fix188
I was about to read carefully about boost PP to try to solve the logger name collision problem, when I saw that there are even more problems with CHUNKSIZE see post number 21 in this thread:
Did you do anything specific to workaround MPFR compilation error?
No. But after I followed you suggestion at nr. 9, setting CHUNKSIZE=1 , this error disappeared.
Maybe the logger name collisions problem perhaps could be solved by using some simple #defines and #undef instead of using BOOST_PP_SEQ_* I'm not sure.