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

Bug 346883

Summary: Photran does not support UNC include paths
Product: [Tools] PTP Reporter: Jeffrey Overbey <com-eclipse-dot-org>
Component: Photran.For Internal UseAssignee: Photran Inbox <photran-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5    
Version: 7.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 343437    
Bug Blocks:    
Attachments:
Description Flags
INCOMPLETE start of UNC path support in Photran CPP none

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.