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

Compiler warnings in mkl_vsl_functions.h

kanjang
Beginner
598 Views
mkl_vsl_functions uses a few three macros,
_Vsl_Api
_vsl_api and
_VSL_API.

Those macros ends with " ; " so ; should not be used when using the macro.

From "VSL CONVOLUTION AND CORRELATION FUNCTION DECLARATIONS" and downwards in the header, ; is used and tons of warnings are produced about extra ; since the macro will expand to:
...stuff... ;;

Would be nice if this could be fixed so no warnings are produced.
0 Kudos
5 Replies
Gennady_F_Intel
Moderator
598 Views
Ok, thanks for the tips. Probably make thanks to fix it.
Gennady.

0 Kudos
Gennady_F_Intel
Moderator
598 Views
One more question: what compiler type are youusing?
--gif

0 Kudos
kanjang
Beginner
598 Views
One more question: what compiler type are youusing?
--gif


I use both the gnu compiler suite and the intel compiler to catch as many problems as possible at compile time.
The warnings about extra ';' comes from g++ where -Wall -pedantic and some other flags are used.

0 Kudos
Gennady_F_Intel
Moderator
598 Views
thanks for the update . we'll try to fix the problem in the future release.
--gif

0 Kudos
Gennady_F_Intel
Moderator
598 Views
Quoting - kanjang

I use both the gnu compiler suite and the intel compiler to catch as many problems as possible at compile time.
The warnings about extra ';' comes from g++ where -Wall -pedantic and some other flags are used.


Kanjang,
The problem you reported was fixed in the version 10.2. This version available for download from intel registration center: "https://registrationcenter.intel.com/" Please let us know if you have further problem with this issue.Regards, Gennady
0 Kudos
Reply