Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Cygwin error parser - no mapping for cygdrive
Cygwin error parser - no mapping for cygdrive [message #1394742] Sat, 05 July 2014 21:04
Roland Schulz is currently offline Roland SchulzFriend
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?
Previous Topic:debugging child process in eclipse
Next Topic:SQLite library for C++
Goto Forum:

Current Time: Sun Apr 22 06:39:40 GMT 2018

Powered by FUDForum. Page generated in 0.02409 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software