Comments (9)
Related to #1730 ?
from sccache.
I think the error is unrelated, but the fix is what's causing the issue (correct me if I'm wrong) (I've compiled sccache from source with commit 6bfe2cbdbd4bfceecadd35a9c5b19586eb7161f2
from 19th June, and the issue persisted; I had no issues with the warning that the original PR references (error C4668: '__midl' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
). I'm running version 0.5.4
right now which has that fix included.
from sccache.
cc @Alexei-Barnes if you have an idea
from sccache.
After testing, you can add comments to wd4668, in msvc.rs, then recompile sccache, after that you can use clang-cl.
from sccache.
I'll do more testing on my side and report back; I seem to have fixed the issue now, and I'm not 100% sure why.
from sccache.
I'll do more testing on my side and report back; I seem to have fixed the issue now, and I'm not 100% sure why.
clang-cl, as I know, is not fully compatible with msvc, so it seems that clang-cl will not handle the wd4668 error, while msvc will handle the wd4668 error.
from sccache.
clang-cl handles /wd4668
just fine, the actual problem is that it's getting passed at the very end of the command line after a --
, so it gets treated as a file to compile rather than a flag
the same thing happens with MSVC, it's just that MSVC doesn't recognize --
and I see the following when using sccache with cl (and don't see it without sccache)
cl : Command line warning D9002 : ignoring unknown option '--'
so MSVC treats /wd4668
at the end of the command like a flag
from sccache.
So, this is a dupe of #1498 then
from sccache.
in some sense yes, fixing #1498 would also fix this, but the currently proposed fix #1856 is also reasonable but would only fix this
from sccache.
Related Issues (20)
- sccache direct mode doesn't restore gcc dependency files HOT 2
- sccache does not detect changes when a library is linked with #[link] attribute HOT 2
- Race condition in [run_server_process] on `master` and sccache 0.7.4 HOT 3
- sccache doesn't recreate WebDAV `SCCACHE_WEBDAV_KEY_PREFIX` folder structure HOT 4
- Store Redis username & password in a dedicated environment variables HOT 7
- `-Xarch` Clang compiler option not supported
- sccache: error: thread 'tokio-runtime-worker' panicked at src/lru_disk_cache/mod.rs:204:17: Error removing file from cache: HOT 5
- Wrong target architecture detected on arm64 macOS HOT 2
- Add support for C++20 modules
- FIx warnings when built with with `cargo build --no-default-features` HOT 1
- Add support for GCC's `-pipe` option
- Permission denied if S3 host contains `:80` HOT 2
- Sccache for S3 storage failed to start (timeout) on virtualized macOS machine (Tart) without any error output HOT 1
- `aarch64-unknown-linux-musl` build CI is broken
- Use stable `sccache` version (0.7.7 for now) with Github Actions for caching newer builds
- `sccache-dist`: cache can end up somehow corrupted HOT 15
- usage of document-features crate breaks sccache-dist HOT 2
- sccache version on pypi is out of date HOT 10
- Sccache unable to upload to GCS bucket HOT 2
- Hitting rate limiting issues due to .sccache_check write checks on GCS HOT 12
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 sccache.