遇到了编译错误: this 'if' clause does not guard... [-Werror=misleading-indentation]
与这个类似:
https://github.com/rust-lang/...
还有这个:
https://stackoverflow.com/que...
但还是不明白怎么回事,
与这个类似:
https://github.com/rust-lang/...
还有这个:
https://stackoverflow.com/que...
但还是不明白怎么回事,
这应该是gcc版本和c代码格式的问题,将出错的地方代码格式调整即可,形成良好的编码风格很重要
如果编译代码出现太多的这样的错误,可以CFLAG上加-Wno-error,忽略这样的错误