Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346883 - Photran does not support UNC include paths
Summary: Photran does not support UNC include paths
Status: NEW
Alias: None
Product: PTP
Classification: Tools
Component: Photran.For Internal Use (show other bugs)
Version: 7.0   Edit
Hardware: All All
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: Photran Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 343437
Blocks:
  Show dependency tree
 
Reported: 2011-05-23 11:58 EDT by Jeffrey Overbey CLA
Modified: 2012-03-01 00:52 EST (History)
0 users

See Also:


Attachments
INCOMPLETE start of UNC path support in Photran CPP (18.00 KB, patch)
2011-05-23 12:05 EDT, Jeffrey Overbey CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Overbey CLA 2011-05-23 11:58:47 EDT
Greg Watson contributed a patch to CDT 8 which allows it to support remote #include files via UNC-style include paths.  Photran should be modified to support these as well.
Comment 1 Jeffrey Overbey CLA 2011-05-23 12:05:30 EDT
Created attachment 196357 [details]
INCOMPLETE start of UNC path support in Photran CPP

This patch essentially copies in the changes from the attachment to Bug 343437.  Unfortunately, this is not sufficient to make UNC paths work in Photran.  Photran forked the CDT preprocessor at version 5.0; in 5.2, CDT switched from using CodeReader to FileContent for included file content.  Photran's preprocessor needs to be updated to use FileContent; hopefully this will be sufficient to make UNC paths work correctly.

On a separate note, for uniformity, we should also consider updating the Fortran INCLUDE line preprocessor to support UNC-style paths.