Community
Participate
Working Groups
The intrinsic ISO_C_BINDING module was introduced in Fortran 2003, but Photran complains that "There are no files that export a module named iso_c_binding" An example is in the GTK demo project: ID: 7757 Description: There are no files that export a module named iso_c_binding Resource: gtk.f03 Path: gtk.f03 Location: line -1 Error Type: org.eclipse.photran.core.vpg.errorMarker
I have added a line to suppress the error messages in the Fortran Analysis/Refactoring Problems view. However, Photran should be able to (1) display the entities in this (intrinsic) module in content assist, and (2) it should recognize them as intrinsics and refuse to Rename them on that ground, not because it can't find a definition for them.
I have committed a change to ptp_5_0 and master (Git) which adds the ISO_C_BINDING and ISO_FORTRAN_ENV intrinsics so they are recognized during name binding resolution and are added to the list of content assist proposals. The IEEE intrinsics are not handled yet.
This also corrects another problem: Introduce Implicit None would treat c_int, c_float, etc. as implicit variables and add declarations for them
The IEEE arithmetic intrinsic modules have been filed separately under Bug 362978. Closing this bug for 7.0.4 and renaming it to refer exclusively to ISO_xxx intrinsic modules.