Closed sora-blue closed 1 year ago
According to issue #130 , flag -Wno-error=infinite-recursion will break compilation for all gcc versions prior to 11. This PR is to fix it by making it available only in GCC 11 or higher. I've tested it on Debian and it works fine.
-Wno-error=infinite-recursion
谢谢,成功解决了我的问题。 我在wsl+Ubuntu20.04的开发环境上也出现了这个问题。 你的方法成功解决了它。
According to issue #130 , flag
-Wno-error=infinite-recursion
will break compilation for all gcc versions prior to 11. This PR is to fix it by making it available only in GCC 11 or higher. I've tested it on Debian and it works fine.