Comments (12)
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.
This debug print message has been removed from the source code.
If you compile xmake clean&& xmake after cleaning, it is as expected
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.
The xmake project configuration is as shown below
Additional information and error logs
none.
from xmake.
改下对应文件,看下 log ,是否会触发编译
touch src/dtn_arq.c
xmake
from 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
from xmake.
改下对应文件,看下 log ,是否会触发编译
touch src/dtn_arq.c xmake
from xmake.
那增量编译没啥问题,或者可以禁用 xmake f --ccache=n
试下
from xmake.
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.
那增量编译没啥问题,或者可以禁用
xmake f --ccache=n
试下
禁用xmake f --ccache=n
没有效果。
编译。
过时的打印内容
源码中已删除
from xmake.
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
from xmake.
ccache 都禁了,那就跟 xmake 没啥关系了,你可以自己 xmake -vD 对比看下实际 link 的 obj ,看下 obj 是否最新 ,或者反编译看下。。
from xmake.
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.
此问题是我自己的原因,可以关闭了,我的xmake脚本里面从别的目录拷贝了过时的动态库到目标目录。
ccache 都禁了,那就跟 xmake 没啥关系了,你可以自己 xmake -vD 对比看下实际 link 的 obj ,看下 obj 是否最新 ,或者反编译看下。。
from xmake.
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)
- The behavior of `set_optimize` is inconsistent on MSVC-related platforms. HOT 5
- Windows下shared目标缺少定义_WINDLL宏 HOT 2
- Macos下Qt开发使用add_frameworks添加的frameworks没有添加到链接命令中 HOT 3
- plugin.compile_commands.autoupdate 报错 HOT 17
- incorrect conan profile generated when using vs 17.1x HOT 1
- xmake添加多个deps时,deps内部有相互依赖的情况下编译无法通过 HOT 24
- Please add support for IAR ARM embedded toolchain HOT 16
- links not found when add_deps("openmp") HOT 10
- 支持在 xmake-repo 下发 toolchain 和 opiton HOT 9
- 添加`qt5widget`包后,xmake的qt规则无法自动识别qt路径 HOT 1
- How to set llvm-rc's options on msys2/clangarm64? HOT 1
- No way to set build type in `qt.deploy.flags` passed to windeployqt HOT 1
- Improve copy pdb when using ninja on Windows HOT 11
- 引用外部库时如何使用预编译头文件的功能 HOT 5
- 解决rc文件不会重新编译的问题 HOT 15
- 升级 xmake 后,包构建失败:package(nlohmann-json): links not found! HOT 4
- Linux系统编译多出-framework选项 HOT 13
- Cannot create static library providing C++ module HOT 11
- 多target的项目中,使用add_shflags("/NOENTRY")的纯资源动态库项目会对其它shared项目产生影响 HOT 3
- 本地定义的 package 无法替换掉间接依赖 HOT 27
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmake.