Giter VIP home page Giter VIP logo

Comments (12)

Issues-translate-bot avatar Issues-translate-bot commented on July 20, 2024

Bot detected the issue body's language is not English, translate it automatically.


Title: Compile obsolete code

Xmake version

2.8.9

Operating system version and architecture

Ubuntu20.04

Describe the problem

An outdated debug message was printed.
1716889048455
This debug print message has been removed from the source code.
Enterprise WeChat screenshot_17168891277349
If you compile xmake clean&& xmake after cleaning, it is as expected
Enterprise WeChat screenshot_17168892102087

Expected results

Don't print out-of-date debugging information

Project configuration

The working environment is an Ubuntu20.04 virtual machine, developed remotely through vscode.
Enterprise WeChat screenshot_17168893454310
The xmake project configuration is as shown below
Enterprise WeChat screenshot_17168892823334

Additional information and error logs

none.

from xmake.

waruqi avatar waruqi commented on July 20, 2024

改下对应文件,看下 log ,是否会触发编译

touch src/dtn_arq.c
xmake

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on July 20, 2024

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

from xmake.

liuhaocsucczu avatar liuhaocsucczu commented on July 20, 2024

改下对应文件,看下 log ,是否会触发编译

touch src/dtn_arq.c
xmake

可以触发编译
企业微信截图_17174862568446

from xmake.

waruqi avatar waruqi commented on July 20, 2024

那增量编译没啥问题,或者可以禁用 xmake f --ccache=n 试下

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on July 20, 2024

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

from xmake.

liuhaocsucczu avatar liuhaocsucczu commented on July 20, 2024

那增量编译没啥问题,或者可以禁用 xmake f --ccache=n 试下
禁用 xmake f --ccache=n没有效果。
编译。
企业微信截图_17180751323708
企业微信截图_17180751749088
过时的打印内容
企业微信截图_1718075232603
源码中已删除
企业微信截图_17180752794677

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on July 20, 2024

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
Disabling xmake f --ccache=n has no effect.
Compile.
Enterprise WeChat screenshot_17180751323708
Enterprise WeChat screenshot_17180751749088
Outdated print content
Enterprise WeChat screenshot_1718075232603
Deleted from source code
Enterprise WeChat screenshot_17180752794677

from xmake.

waruqi avatar waruqi commented on July 20, 2024

ccache 都禁了,那就跟 xmake 没啥关系了,你可以自己 xmake -vD 对比看下实际 link 的 obj ,看下 obj 是否最新 ,或者反编译看下。。

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on July 20, 2024

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. .

from xmake.

liuhaocsucczu avatar liuhaocsucczu commented on July 20, 2024

此问题是我自己的原因,可以关闭了,我的xmake脚本里面从别的目录拷贝了过时的动态库到目标目录。

ccache 都禁了,那就跟 xmake 没啥关系了,你可以自己 xmake -vD 对比看下实际 link 的 obj ,看下 obj 是否最新 ,或者反编译看下。。

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on July 20, 2024

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. .

from xmake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.