gcc - #line 上的 Clang 错误“预期表达式”(构建 gcc)
问题描述
大家好。
我正在尝试使用 clang 编译 gcc,我听说这是可能的。但是我在编译过程中遇到了错误。
In file included from build/gencondmd.c:51:
./tm-constrs.h:10:37: error: expected expression
return (GET_CODE (op) == MEM) && (#line 26 "../.././gcc/common.md"
^
./tm-constrs.h:17:37: error: expected expression
return (GET_CODE (op) == MEM) && (#line 32 "../.././gcc/common.md"
^
像这样的错误很多。
如何修复此错误?
解决方案
推荐阅读
- python - 如何用逗号对包含一组字符串的列表进行切片?
- ios - 为 UIStackView 中的视图添加大小约束
- python-3.x - 我的 while 循环中嵌套了一个 for 循环,是什么导致我的代码中出现无限循环?
- python - 使用 Pandas 的两列获取行数
- php - Post an HTML Input with datetime Value to MySQL Database
- c# - 实现工具提示的抽象方法
- javascript - javascript“中断”会完全停止递归函数还是仅仅停止那个实例?
- docker - 非 root 用户的 docker 机密
- background - Ionic 3 - 当我们最小化应用程序时显示锁定屏幕
- javascript - 用于切换的 Jquery 单击功能不起作用