Closed liuhaocsucczu closed 4 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: Compile obsolete code
2.8.9
Ubuntu20.04
An outdated debug message was printed. This debug print message has been removed from the source code. If you compile xmake clean&& xmake after cleaning, it is as expected
Don't print out-of-date debugging information
The working environment is an Ubuntu20.04 virtual machine, developed remotely through vscode. The xmake project configuration is as shown below
none.
改下对应文件,看下 log ,是否会触发编译
touch src/dtn_arq.c
xmake
Bot detected the issue body's language is not English, translate it automatically.
Change the corresponding file and check the log to see if it will trigger compilation.
touch dtn_arq.c
xmake
改下对应文件,看下 log ,是否会触发编译
touch src/dtn_arq.c xmake
可以触发编译
那增量编译没啥问题,或者可以禁用 xmake f --ccache=n
试下
Bot detected the issue body's language is not English, translate it automatically.
There is no problem with incremental compilation, or you can try disabling
xmake f --ccache=n
那增量编译没啥问题,或者可以禁用
xmake f --ccache=n
试下 禁用xmake f --ccache=n
没有效果。 编译。 过时的打印内容 源码中已删除
Bot detected the issue body's language is not English, translate it automatically.
Then there is no problem with incremental compilation, or you can disable
xmake f --ccache=n
and try it Disablingxmake f --ccache=n
has no effect. Compile. Outdated print content Deleted from source code
ccache 都禁了,那就跟 xmake 没啥关系了,你可以自己 xmake -vD 对比看下实际 link 的 obj ,看下 obj 是否最新 ,或者反编译看下。。
Bot detected the issue body's language is not English, translate it automatically.
If ccache is disabled, it has nothing to do with xmake. You can use xmake -vD to compare the obj of the actual link to see if the obj is the latest, or decompile it. .
此问题是我自己的原因,可以关闭了,我的xmake脚本里面从别的目录拷贝了过时的动态库到目标目录。
ccache 都禁了,那就跟 xmake 没啥关系了,你可以自己 xmake -vD 对比看下实际 link 的 obj ,看下 obj 是否最新 ,或者反编译看下。。
Bot detected the issue body's language is not English, translate it automatically.
This problem is my own fault and can be closed. My xmake script copied the outdated dynamic library from another directory to the target directory.
ccache is disabled, so it has nothing to do with xmake. You can use xmake -vD to compare the obj of the actual link to see if the obj is the latest, or decompile it. .
Xmake 版本
2.8.9
操作系统版本和架构
Ubuntu20.04
描述问题
打印了一条过时的调试信息。 此调试打印信息源代码中已删除。 如果清除后再编译xmake clean&& xmake,则符合预期
期待的结果
不打印过时的调试信息
工程配置
工作环境是Ubuntu20.04虚拟机,通过vscode远程开发。 xmake工程配置如下图
附加信息和错误日志
无。