Hi -
I am using:
Eclipse SDK 3.4.0.M20080911-1700
IBM XLF Compiler Support 4.0.4
Linux Intel® Fortran Compiler Support
4.0.4
Photran 4.0.4
on SLES90 platform, and when I open a Fortran 90 file, I get
"Syntax error: Unexpected identifier (line 25, …" in the
Outline view and a "Problem Occurred" dialog with:
'Photran Indexer' has encountered a
problem.
An internal error occurred during: "Photran
indexer".
An internal error
occurred during "Photran Indexer".
java.lang.NullPointerException
The code around line 25 contains a C function prototype
declaration:
INTERFACE
INTEGER FUNCTION
processUserInput [C,ALIAS:'processUserInput'] (uidf, ivdf, cvdf, pipoo)
<-- line 25
CHARACTER*(*) uidf [reference] ! user input data file
CHARACTER*(*) ivdf [reference] ! input variable definition file
CHARACTER*(*) cvdf [reference] ! converted and validated user input
data file
CHARACTER*(*) pipoo [reference] ! PIP output option flags
END FUNCTION
END INTERFACE
which, I believe, is required to interface the Fortran
routine with the C function (note I did not write the code, am only trying to
update it).
This error renders the Outline view unusable for navigation
within the Fortran module.
Is there any fix/workaround for this?
Thanks.
---
David L.
Paterline
Functional
Lead, Core Computations
Core
Engineering
Westinghouse
Electric Company
Westinghouse
Energy Center
Monroeville, PA
15146, USA
Phone: +1
(412) 374-2286
Fax: +1
(412) 374-2284
Email:
paterldl@xxxxxxxxxxxxxxxx
Home
Page: www.westinghousenuclear.com