Repository navigation
Add support for caching stdout from MSVC - #962
Conversation
|
Since #506 has been meanwhile merged, I've updated this to again be based on that and remove the output hacks from that PR. |
In what setup? |
The Error occurs on
The Error does not occur on
|
|
Sorry if I was unclear in #954 (comment), but as I see it, adding support for caching stdout from the compiler is a generic new feature (not a fix of anything since nothing is broken). In contrast, handling newlines properly on Windows sounds like a bug fix. I would appreciate new features in standalone pull requests. |
I've open a standalone PR for the newline bugfix: #968 |
OK. Since I don't have much time for ccache right now (as you probably have noticed), I'll do some tweaks myself to speed up the turnaround time. |
193979f to
e49cf0b
Compare
|
I've now rebased the branch to latest master. I hope I didn't make any mistakes, but please check. Some quick thoughts on the PR:
|
1e101ee to
6476f44
Compare
MSVC outputs some messages to stdout instead of stderr, so cache stdout in addition to stderr, and remove the merge-to-stderr hack.
That should work now.
I've added a note to it.
The commit now includes a test that there's no extra stdout output. |
|
Now when I read the PR more closely I realize that it only adds support for caching stdout from MSVC, not from any compiler like I originally envisioned. But that's OK, I'll look into that myself. |
#954 redone without depending on MSVC support in #506 and with stdout in nocpp2 case fixed.