Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 Discussions

Double colon required after "procedure" when using binding-name => procedure name?

abhimodak
New Contributor I
907 Views

Hi

I think a double colon is required by standard when using binding name => procedure name. However, I get no warnings with /stand:f03 with the snippet below. Is that right?

I am using IVF 11.1.065 on WinXP64 with VS2005.

Abhi

---

Module OM
Implicit None
Type :: newOBJ
Integer :: i
Contains
Procedure Set => Initialize ! A double colon is required (?) after procedure
End Type newOBJ
Contains
Subroutine Initialize(OBJ)
Implicit None
Class(newOBJ) :: OBJ
End Subroutine Initialize
End Module OM

Program Test
Use OM
Implicit None
Type(newOBJ) :: OBJ
End Program Test

0 Kudos
2 Replies
Steven_L_Intel1
Employee
907 Views
You are correct - the standard says:

C456 (R451) If => procedure-name appears, the double-colon separator shall appear.

I'll report this to the developers.
0 Kudos
Anonymous66
Valued Contributor I
907 Views

A fix has been found for this issue. We are currently planning to include it in a future major release.

Annalee

0 Kudos
Reply