Closed Dozingfiretruck closed 6 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: The original project cannot be compiled after xmake is updated.
xmake 不会处理 warning 只会判断 gcc 的 exit code ,非 0 就退出。
即使有错,也是 Gcc 报错导致,可以对比前后 flags 的差异
Bot detected the issue body's language is not English, translate it automatically.
xmake will not handle warnings and will only judge the exit code of gcc. If it is not 0, it will exit.
Even if there is an error, it is caused by Gcc error. You can compare the difference in flags before and after.
xmake 不会处理 warning 只会判断 gcc 的 exit code ,非 0 就退出。
即使有错,也是 Gcc 报错导致,可以对比前后 flags 的差异
没有差异,工程不变,只更新xmake,2.8.6一切正常
Bot detected the issue body's language is not English, translate it automatically.
xmake will not handle warnings, but will only judge the exit code of gcc, and exit if it is not 0.
Even if there is an error, it is caused by Gcc error. You can compare the difference in flags before and after
There is no difference, the project remains unchanged, only xmake is updated, everything is normal with 2.8.6
再试下。。xmake update -s dev; xmake f -c
Bot detected the issue body's language is not English, translate it automatically.
Try again. .
xmake update -s dev; xmake f -c
再试下。。
xmake update -s dev; xmake f -c
可以了,这个影响应该比较大,下个版本是不是会提前发布
Bot detected the issue body's language is not English, translate it automatically.
Try again. .
xmake update -s dev; xmake f -c
Okay, this impact should be relatively large. Will the next version be released in advance?
看情况。
Bot detected the issue body's language is not English, translate it automatically.
It depends.
更新了。
Bot detected the issue body's language is not English, translate it automatically.
updated.
Xmake 版本
2.8.7
操作系统版本和架构
win10
描述问题
貌似把warning当做错误了,只要出现这个warning,后面不管编译什么都当做错误停止
期待的结果
正常编译
工程配置
仓库地址 : https://gitee.com/openLuat/luatos-soc-air101
附加信息和错误日志
error: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead ..\LuatOS\components\luatfonts\luat_lib_fonts.c:1:0: error: bad value (ck804ef) for -mtune= switch /* ^