<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic __stdcall warning with 2023.1 in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/stdcall-warning-with-2023-1/m-p/1475733#M3014</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to switch to th latest intel DPC compiler to make use of the sycl function in the future:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_D_0-1681287403262.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/40145iF5525233C9758263/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Daniel_D_0-1681287403262.png" alt="Daniel_D_0-1681287403262.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if I compile my project I get thousands of this warning:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1&amp;gt; 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]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I add '-Wignored-attributes' to the compiler options:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_D_1-1681287440422.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/40146i0551E9FDC0B8AA05/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Daniel_D_1-1681287440422.png" alt="Daniel_D_1-1681287440422.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but the warnings are still there - any way to get rid of these warnings?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2023 08:17:56 GMT</pubDate>
    <dc:creator>Daniel_D</dc:creator>
    <dc:date>2023-04-12T08:17:56Z</dc:date>
    <item>
      <title>__stdcall warning with 2023.1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/stdcall-warning-with-2023-1/m-p/1475733#M3014</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to switch to th latest intel DPC compiler to make use of the sycl function in the future:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_D_0-1681287403262.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/40145iF5525233C9758263/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Daniel_D_0-1681287403262.png" alt="Daniel_D_0-1681287403262.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if I compile my project I get thousands of this warning:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1&amp;gt; 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]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I add '-Wignored-attributes' to the compiler options:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_D_1-1681287440422.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/40146i0551E9FDC0B8AA05/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Daniel_D_1-1681287440422.png" alt="Daniel_D_1-1681287440422.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but the warnings are still there - any way to get rid of these warnings?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 08:17:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/stdcall-warning-with-2023-1/m-p/1475733#M3014</guid>
      <dc:creator>Daniel_D</dc:creator>
      <dc:date>2023-04-12T08:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: __stdcall warning with 2023.1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/stdcall-warning-with-2023-1/m-p/1475781#M3015</link>
      <description>&lt;P&gt;I guess this is an issue of VS:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Microsoft Visual Studio Community 2022 (64-bit) - Current&lt;BR /&gt;Version 17.5.4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;#ifdef __clang__&lt;BR /&gt;#pragma clang diagnostic ignored "-Wignored-attributes"&lt;BR /&gt;#endif&lt;/P&gt;
&lt;P&gt;into the header fixes this problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 10:22:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/stdcall-warning-with-2023-1/m-p/1475781#M3015</guid>
      <dc:creator>Daniel_D</dc:creator>
      <dc:date>2023-04-12T10:22:58Z</dc:date>
    </item>
    <item>
      <title>Re:__stdcall warning with 2023.1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/stdcall-warning-with-2023-1/m-p/1476141#M3016</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting in Intel Communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks And Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aishwarya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Apr 2023 04:59:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/stdcall-warning-with-2023-1/m-p/1476141#M3016</guid>
      <dc:creator>AishwaryaCV_Intel</dc:creator>
      <dc:date>2023-04-13T04:59:24Z</dc:date>
    </item>
  </channel>
</rss>

