Skip to content

Intel project needs recursion flags #291

Closed
@qolin1

Description

@qolin1

It is easy to wind up calling JSON_GET_ARRAY recursively. Using Intel Fortran under Windows, with the settings in the .vfproj file supplied in the visual_studio folder, this causes an error: the local "element" is nullified on exit. This leads to a null pointer reference in outer recursive calls.

The .vfproj file should contain the flags 'EnableRecursion="true"' and 'ReentrantCode="reentrancyThreaded"' to prevent this. From Developer Studio menus it is Properties > Configuration Properties > Fortran > Code Genration, "Enable Recursive Routines=yes" and "Generate Reentrant code=Threaded".

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions