Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6980 Discussions

mkl.fi interfaces are missing some dummy argument definitions

Ben3
Beginner
228 Views

Some of the interfaces brought in by mkl.fi are missing some argument definitions. While not an problem, since the implicit typing takes over, it does generate compiler warnings:

C:\PROGRA~2\INTELS~1\COMPIL~1\windows\mkl\include\mkl_spblas.fi(414): warning #6717: This name has not been given an explicit type.   
C:\PROGRA~2\INTELS~1\COMPIL~1\windows\mkl\include\mkl_spblas.fi(427): warning #6717: This name has not been given an explicit type.   
C:\PROGRA~2\INTELS~1\COMPIL~1\windows\mkl\include\mkl_spblas.fi(1019): warning #6717: This name has not been given an explicit type.   
C:\PROGRA~2\INTELS~1\COMPIL~1\windows\mkl\include\mkl_spblas.fi(1032): warning #6717: This name has not been given an explicit type.   
C:\PROGRA~2\INTELS~1\COMPIL~1\windows\mkl\include\mkl_spblas.fi(1623): warning #6717: This name has not been given an explicit type.   
C:\PROGRA~2\INTELS~1\COMPIL~1\windows\mkl\include\mkl_spblas.fi(1636): warning #6717: This name has not been given an explicit type.   
C:\PROGRA~2\INTELS~1\COMPIL~1\windows\mkl\include\mkl_spblas.fi(2228): warning #6717: This name has not been given an explicit type.   
C:\PROGRA~2\INTELS~1\COMPIL~1\windows\mkl\include\mkl_spblas.fi(2241): warning #6717: This name has not been given an explicit type.   
C:\PROGRA~2\INTELS~1\COMPIL~1\windows\mkl\include\mkl_service.fi(251): warning #6717: This name has not been given an explicit type.   [MEM_TYPE]

This is from the 20160121 release. I haven't noticed it before because I don't usually build with /warn:all. Trying to supress them with

!DIR$ NODECLARE
include 'mkl.fi'
!DIR$ DECLARE

doesn't help in this case - I'm guessing the command-line takes precendence.

Cheers,
Ben

0 Kudos
2 Replies
Ying_H_Intel
Employee
228 Views

Hi Ben, 

thanks for raising this. We will check and update you if any news. 

Best Regards

Ying 

0 Kudos
Ying_H_Intel
Employee
228 Views

Hi Ben, 

There is some errors in the mkl header files. We will fix them in later version. 

I upload the fix file to you as replacement. 

Thanks

Ying

 

0 Kudos
Reply