Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29266 Discussions

error #8178: The procedure pointer and the procedure target must have matching arguments.

William_Jones
New Contributor I
1,713 Views

I have some Fortran source that uses procedure pointers.  This code has compiled fine from Intel Fortran version 2013 through 2015.  However, it now generates what I consider an incorrect error in Intel Fortran 2016 for Linux and OS X (as recent as ifort (IFORT) 16.0.1 20151020 on OS X).  I have attached a simple example that will generate the error.

0 Kudos
4 Replies
Steven_L_Intel1
Employee
1,713 Views

Thanks for bringing this to our attention. I have escalated it to the developers as issue DPD200378606. I was able to reduce it further and found that if you added an unused dummy argument to the interface (and subroutine), the error goes away. I will let you know of our progress in fixing this bug.

0 Kudos
Steven_L_Intel1
Employee
1,713 Views

Fixed for a release later this year.

0 Kudos
William_Jones
New Contributor I
1,713 Views

Should this have been fixed in 16.0.3 released in April?  I ask because it is not fixed.  Any information as to which version this fix will be available in?  Also, is such being added to your regression test so that it does not creep back in?

0 Kudos
Kevin_D_Intel
Employee
1,713 Views

It is not fixed in 16.0.3. It is fixed the next major release (17.0) targeted for release in September. A regression test was added as part of Development's normal process.

0 Kudos
Reply