Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Problem with Photran Indexer parsing C function interface declaration

Hi David,

    An internal error occurred during: "Photran indexer".
        An internal error occurred during "Photran Indexer".
        java.lang.NullPointerException

If you look in /your/workspace/.metadata/.log it should have java.lang.NullPointerException logged followed by a long stack trace. Could you please send me the stack trace?

You should never see a NullPointerException, so this is a bug. :)


INTEGER FUNCTION processUserInput [C,ALIAS:'processUserInput'] (uidf, ivdf, cvdf, pipoo) <-- line 25


What compiler are you using? This looks like non-standard/compiler-specific syntax. In general, Photran only attempts to support ANSI-standard Fortran.

There's a BIND(C) feature that was added in Fortran 2003 which does basically the same thing, but only a few compilers support it.

Jeff


Back to the top