Bug 156436 - Warning parser doesn't use full path if it's available
Summary: Warning parser doesn't use full path if it's available
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.1.1   Edit
Assignee: Doug Schaefer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
: 155403 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-06 17:00 EDT by Dave Camp CLA
Modified: 2008-06-19 14:01 EDT (History)
1 user (show)

See Also:


Attachments
Fall back to full path when finding the file associated with a warning (854 bytes, patch)
2006-09-06 17:02 EDT, Dave Camp CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Camp CLA 2006-09-06 17:00:13 EDT
I'm building an app that has a lot of duplicate filenames.  We have a non-recursive make setup, so the error message has a complete project-relative path, but this is being ignored.  

The attached patch falls back to the complete path if there's a name conflict in the project.
Comment 1 Dave Camp CLA 2006-09-06 17:02:49 EDT
Created attachment 49548 [details]
Fall back to full path when finding the file associated with a warning
Comment 2 Doug Schaefer CLA 2006-09-07 09:36:12 EDT
Cool, I have another bug open on that that I need to look at for CDT 3.1.1. I'll try out your patch as a solution for that one too. Thanks.
Comment 3 Doug Schaefer CLA 2006-09-07 09:36:44 EDT
*** Bug 155403 has been marked as a duplicate of this bug. ***
Comment 4 Doug Schaefer CLA 2006-09-07 10:44:20 EDT
Excellent. Thanks for the patch! I have cleaned it up just a little, but works like a charm.