<div dir="ltr"><div>I am having issues with strange file paths when parsing c file in distcc's pump-mode (distcc's plain mode works just fine). </div><div><br></div><div>I'm running on Cygwin64, in a system with also uses both CMake and Ninja.  </div><div>The compiler is not GCC.</div><div><br></div><div>I have tried tracing the issue in the source but the indexing of paths is rather complicated and I hoped someone more familiar with it can offer some hints/tips as to what the problem may be.  As a user I cannot spend too much time patching code to suit me.</div><div><br></div><div>The error messages I receive are in the format:</div><div><br></div><div>WARNING include server: Preprocessing locally. Include server not covering: Parse file: '/cygdrive/c/<i><project base></i>/<i><path to build.ninja directory></i>/C:\<i><project base></i>\<i><path to source></i>\example.c': [Errno 2] No such file or directory: '/cygdrive/c/<i><project base></i>/<i><path to build.ninja directory></i>/C:\\<i><project base></i>\\<i><path to source></i>\\example.c' for translation unit 'C:\<i><project base></i>\<i><path to source></i>\example.c'<br></div><div><br></div><div>(<i><path to build.ninja directory></i> is also the base for the output files)</div><div><br></div><div><br></div><div>I should also mention that I made 1 modification to include_server:</div><div><br></div><div>In "compiler_defaults.py", function "_SystemSearchdirsGCC":</div><div><br></div><div>Removed the function body as it only works for GCC, and replaced with a single path to the compilers default include path.</div><div><br></div><div>Any suggestions are much appreciated.</div><div><br></div><div>Thanks in advance!</div></div>