How to patch Eigen 3.3.7 to workaround a GCC 8.2.1 bug (arm-none-eabi 8-2018q4-major toolchain)?

一曲冷凌霜 提交于 2019-12-24 03:27:26

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!