- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a query.
I have a project code that was developed in a QT environment and compiled and built using the C++ Classic Compiler.
I'm now trying to compile and build this same code in a Visual Studio environment using the DPC++ Compiler, but I'm encountering errors during the compilation and build process.
For instance, I'm getting errors like:
declaration of 'sqrt' has a different language linkage
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\corecrt_math.h(512,54)
or
declaration of 'pow_dd' has a different language linkage
C:\Users\ABC\Desktop\test\Common\midaco.c(6420,8)
I'm inquiring about any effective tools or methods that can facilitate the transition from the Intel C++ Classic Compiler to the DPC++ Compiler during the build process.
Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which icc did you use to build the program? Since icc and icx compilers are very different, there bound to be some changes needed for your program. Please reference to this document first: https://www.intel.com/content/www/us/en/developer/articles/guide/porting-guide-for-icc-users-to-dpcpp-or-icx.html

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page