Cygwin error parser - no mapping for cygdrive [message #1394742] |
Sat, 05 July 2014 21:04 |
Roland Schulz Messages: 3 Registered: July 2009 |
Junior Member |
|
|
For the error:
/cygdrive/c/Users/r2s2_000/git/gromacs/src/gromacs/gmxpreprocess/topshake.c:96:9: error: array subscript has type 'char' [-Werror=char-subscripts]
CDT doesn't find the source file and shows "external location: \cygdrive\c\.." in the location of the Problems view. This is both for latest Kepler and Juno. I found in the FAQ how to map it for debugging but nothing about how to add mapping for the error parser. cygpath -w /cygdrive/c correctly resolves to c:\, but cygpath -w \cygdrive\c doesn't.
Anything one can configure to get the cygwin path to correctly be shown in the problem view? Or how to narrow this problem down further?
Could it be that CDT is first changing forward slashes to backslashes before calling cygpath?
|
|
|
Powered by
FUDForum. Page generated in 0.03122 seconds