问题
I was trying to compile Eigen 3.3.7 with Arm's bare metal 8-2018q4-major toolchain and see the very same error (see the x86_64 variant question).
It was just plain unlucky for ARM to pick an affected snapshot (20181213) as their release. Embedded toolchain is nightmare-ish to patch so I opt to patch Eigen instead.
Is this the right way of doing so? (source) to workaround this GCC bug?
inline BlockType& operator=(const BlockType& other)
{
- return operator=<BlockType>(other);
+ return this->operator=(other);
}
来源:https://stackoverflow.com/questions/55292768/how-to-patch-eigen-3-3-7-to-workaround-a-gcc-8-2-1-bug-arm-none-eabi-8-2018q4-m