Comments (4)
Is this one error or two different ones? I do not yet understand at which code position the problem occurs.
Can you tell whether it is because of a special character in a source file or a file path?
from clcache.
one error ... since it only occurs when using german language, i'd assume that its a special char in the command line output of the compiler?
from clcache.
Okay, here we go: http://stackoverflow.com/a/33291200
Problem is that we do not know which encoding MSVC is throwing at us in STDOUT and STDERR. It is likely to be this semi-UTF-16 encoding called MBCS/DBCS (Microsoft's definition of DBCS).
It is true that 0x81 is not Windows-1251/CP-1251 because the position is empty.
So as described in the SO answer, in invokeRealCompiler()
we should not use Popen with universal_newlines=True
when calling communicate()
. Instead we should take the plain bytes and do not convert them into strings. This is already done ObjectCache.computeKey()
.
from clcache.
I think this might help: #117
from clcache.
Related Issues (20)
- Error installing latest on Windows 10 HOT 5
- Renaming build directory cause cache misses HOT 2
- Clcache performance issues with big projects HOT 5
- What does "passed for external debug" mean? HOT 1
- Syntax error (printTraceStatement) running on Windows 10 HOT 2
- Please state that python 2 is no-longer supported in the readme.
- Autoclean feature documentation HOT 2
- Error "Cannot find file at '..\\lib\clcache\clcache\clcache.exe'" HOT 1
- ClCache mess up with MSBuild cache because of STATS.TXT HOT 2
- Can't use clcache from terminal when using VS HOT 3
- Visual Studio IDE w/ CMake w/ clcache always rebuilds HOT 5
- Enabling clcache overrides the local property-sheets
- Migrate LGTM.com installation from OAuth to GitHub App
- Enable long paths support on Windows 10
- Warning ModuleNotFoundError
- Update Visual Studio Integration Docs
- CLCACHE_PROFILE ignored when clcache is installed as .exe from chocolatey or pip HOT 1
- ThreadPoolExecutor / concurrent.futures.as_completed prevent cProfile from providing actual info
- Alternative CMake Integration HOT 4
- Problems with ASM identification, using clcache on CMAKE
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 clcache.