I am using cpptasks for a compiler I wrote, and I am
using the CUtil.getRelativePath(base, targetfile)
function to compute pathnames relative to the output
folder. I have the following:
base = c:\some\folder\output
targetFile = c:\some\folder\output.extension
Now, when I call CUtil.getRelativePath(base,
targetfile) with the above values, it returns:
This is obviously not right. It looks like the logic
may be flawed in the getRelativePath() function.
Log in to post a comment.