Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312833

Summary: UPC artifacts not found when UPC include path set incorrectly
Product: [Tools] PTP Reporter: Beth Tibbitts <beth>
Component: PLDTAssignee: Beth Tibbitts <beth>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: 5.0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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 :)