<?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 Re: Incorrect _MSVC_LANG when compiling with /std:c++latest in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Incorrect-MSVC-LANG-when-compiling-with-std-c-latest/m-p/1218320#M750</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a known issue that while using /std:c++latest with dpcpp in windows, you will face some errors.&lt;/P&gt;
&lt;P&gt;Please refer the below release notes for more info: &lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-dpcpp-compiler-release-notes-beta.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-dpcpp-compiler-release-notes-beta.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We will inform this issue to our internal team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Prasanth&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Oct 2020 09:11:09 GMT</pubDate>
    <dc:creator>PrasanthD_intel</dc:creator>
    <dc:date>2020-10-16T09:11:09Z</dc:date>
    <item>
      <title>Incorrect _MSVC_LANG when compiling with /std:c++latest</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Incorrect-MSVC-LANG-when-compiling-with-std-c-latest/m-p/1218246#M746</link>
      <description>&lt;P&gt;&lt;STRONG&gt;OS&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Windows 10&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IDE&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Visual Studio 19&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Compiler&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Intel(R) oneAPI DPC++ compiler&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Toolkit&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;oneAPI Base Toolkit version 2021.1-beta09&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;msvc and clang report a value of&amp;nbsp;201704 whereas DPC++ reports&amp;nbsp;201703, which causes _HAS_CXX20 to be defined as 0, in turn, disabling C++20 features.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Currently, my workaround is to add -Xclang -std=c++20 which reports a value of 201705. However, SYCL headers are incompatible with C++20 std.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 04:03:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Incorrect-MSVC-LANG-when-compiling-with-std-c-latest/m-p/1218246#M746</guid>
      <dc:creator>ChoonHo</dc:creator>
      <dc:date>2020-10-16T04:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect _MSVC_LANG when compiling with /std:c++latest</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Incorrect-MSVC-LANG-when-compiling-with-std-c-latest/m-p/1218320#M750</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a known issue that while using /std:c++latest with dpcpp in windows, you will face some errors.&lt;/P&gt;
&lt;P&gt;Please refer the below release notes for more info: &lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-dpcpp-compiler-release-notes-beta.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-dpcpp-compiler-release-notes-beta.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We will inform this issue to our internal team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Prasanth&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 09:11:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Incorrect-MSVC-LANG-when-compiling-with-std-c-latest/m-p/1218320#M750</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-10-16T09:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect _MSVC_LANG when compiling with /std:c++latest</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Incorrect-MSVC-LANG-when-compiling-with-std-c-latest/m-p/1218324#M751</link>
      <description>&lt;P&gt;I see, must have missed it.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 09:17:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Incorrect-MSVC-LANG-when-compiling-with-std-c-latest/m-p/1218324#M751</guid>
      <dc:creator>ChoonHo</dc:creator>
      <dc:date>2020-10-16T09:17:55Z</dc:date>
    </item>
    <item>
      <title>Re:Incorrect _MSVC_LANG when compiling with /std:c++latest</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Incorrect-MSVC-LANG-when-compiling-with-std-c-latest/m-p/1219777#M767</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation. We will be closing the thread for now.&lt;/P&gt;&lt;P&gt;Please raise a new thread if you require any additional assistance.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:42:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Incorrect-MSVC-LANG-when-compiling-with-std-c-latest/m-p/1219777#M767</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-10-21T12:42:52Z</dc:date>
    </item>
  </channel>
</rss>

