Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312833 - UPC artifacts not found when UPC include path set incorrectly
Summary: UPC artifacts not found when UPC include path set incorrectly
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: PLDT (show other bugs)
Version: 4.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 5.0   Edit
Assignee: Beth Tibbitts CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-13 15:10 EDT by Beth Tibbitts CLA
Modified: 2011-06-13 14:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Tibbitts CLA 2010-05-13 15:10:32 EDT
PLDT doesn't find UPC artifacts in 4.0 with CDT 7.0

Using PTP 4.0 M7,   CDT 7.0 M7,   Eclipse 3.6M7

Do new C project, new Berkeley UPC project, 
PLDT UPC prefs set to /usr/local/berkeley....
Project properties includes setting points to the same dir.

add upc_lock(null) to the src file, find artifacts.
Nothing found.
Comment 1 Beth Tibbitts CLA 2010-05-13 15:12:31 EDT
UPC prefs were set to where the installed UPC headers were located,
but analysis must be using other.

When set Preferences/Parallel Tools/ PLDT / UPC to add "/usr/local/include" to the UPC 
include paths, artifacts are found OK.

TODO:  Add a check like was done for MPI:  if I find APIs in another header file, prompt
the user or something to use this as UPC include path.  
This is very confusing for users.
Comment 2 Beth Tibbitts CLA 2011-06-13 14:45:37 EDT
New default option of "Recognize APIs by prefix(upc_) alone"
fixes this since location of API doesn't matter now for most uses.
Comment 3 Beth Tibbitts CLA 2011-06-13 14:45:59 EDT
should have assigned to me :)