- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I try to switch to th latest intel DPC compiler to make use of the sycl function in the future:
if I compile my project I get thousands of this warning:
1> T:\\3rdParty\\boost_1_81_0\boost/asio/detail/win_iocp_file_service.hpp(270,17): : warning : '__stdcall' calling convention is not supported for this target [-Wignored-attributes]
I add '-Wignored-attributes' to the compiler options:
but the warnings are still there - any way to get rid of these warnings?
Thanks,
Daniel
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I guess this is an issue of VS:
Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.5.4
Adding:
#ifdef __clang__
#pragma clang diagnostic ignored "-Wignored-attributes"
#endif
into the header fixes this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
Glad to know that your issue is resolved. Thanks for sharing the solution with us. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks And Regards,
Aishwarya

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