Open ladislas opened 1 year ago
Funny enough, everything works perfectly well with gcc@12
https://github.com/leka/LekaOS/actions/runs/3547366195/jobs/5957407636#step:6:5130
I came across a similar error with GCC 11 + Boost::SML. Upgrading to GCC 12 was unfortunately not an option for me.
I discovered that the issue lied in the using-directive for the entire Boost::SML namespace, which triggered some strange type conversions. I only needed access to literals so I changed:
using namespace boost::sml;
to
using namespace boost::sml::literals;
Expected Behavior
Running boost::sml in GT/M compiled with gcc@11 should work
Actual Behavior
We are working on transitioning from gcc@10 to gcc@11 and we are facing a strange issue:
And it goes on and on, as you can see here:
https://github.com/leka/LekaOS/actions/runs/3533489312/jobs/5929179683#step:6:1103
Test code in question:
https://github.com/leka/LekaOS/blob/develop/libs/RobotKit/tests/StateMachine_test.cpp#L36
I'm not even sure what could be the issue, those templates are very hard to read and understand :(
Steps to Reproduce the Problem
n/a
Specifications