-
-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xmake更新之后原有工程编译不了 #4769
Comments
Title: The original project cannot be compiled after xmake is updated. |
xmake 不会处理 warning 只会判断 gcc 的 exit code ,非 0 就退出。 即使有错,也是 Gcc 报错导致,可以对比前后 flags 的差异 |
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,2.8.6一切正常 |
There is no difference, the project remains unchanged, only xmake is updated, everything is normal with 2.8.6 |
再试下。。 |
Try again. . |
可以了,这个影响应该比较大,下个版本是不是会提前发布 |
Okay, this impact should be relatively large. Will the next version be released in advance? |
看情况。 |
It depends. |
更新了。 |
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
/*
^
The text was updated successfully, but these errors were encountered: