Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

compatibility math.h and mathimf.h

msolal
Beginner
532 Views
I am trying to use the Intel math library, and I get about compatibilty with math.h. I understand these libraries cannot be compatible. My problem is that I am linking with some external library and the include file contains reference to math.h. Is there any simple way to solve this issue? I dont have the source code of the external library.

Thanks,

Marc
0 Kudos
2 Replies
TimP
Honored Contributor III
532 Views

It seems that you should be using , but more information may be needed to understand your issue.
0 Kudos
JenniferJ
Moderator
532 Views
It's doable.

You can set the compiler on file-bases. So you can set the compiler to "VC" if it uses "math.h". And do not use "/Zl" option(omit default library name in .OBJ).

When it comes to distribute, you'll need to package both VC and IC's math libs.
0 Kudos
Reply