<?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:Trouble compiling MFC code in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1465509#M2902</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;Thanks, that did it&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Glad to know that it worked for you&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;How do I suppress these warnings with the Intel compiler?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can suppress this warning by adding the&lt;EM&gt;/Wno-unused-local-typedef&lt;/EM&gt; flag under&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Properties -&amp;gt; C/C++ -&amp;gt; Command-line -&amp;gt; Additional-options.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Noorjahan.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 14 Mar 2023 10:47:35 GMT</pubDate>
    <dc:creator>NoorjahanSk_Intel</dc:creator>
    <dc:date>2023-03-14T10:47:35Z</dc:date>
    <item>
      <title>Trouble compiling MFC code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1462783#M2878</link>
      <description>&lt;P&gt;I'm having trouble compiling MFC code using Intel OneAPI DPC C++ compiler. I get multiple build errors. Attached is a sample MFC project that shows the build errors, I get different errors using the Intel Classic c++ compiler.&amp;nbsp; Typical errors are "non-static member function without an object argument". Seems to be a redefinition of some MFC defines??&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 16:16:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1462783#M2878</guid>
      <dc:creator>D_F</dc:creator>
      <dc:date>2023-03-07T16:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble compiling MFC code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1463693#M2883</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting in Intel Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;Typical errors are "non-static member function without an object argument"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;You can remove these errors by defining a member function with&amp;nbsp;the class object that it belongs to.&lt;/P&gt;
&lt;P&gt;For example, we have made the below changes in PropertiesWnd.cpp file&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ON_UPDATE_COMMAND_UI(ID_EXPAND_ALL, &amp;amp;CPropertiesWnd::OnUpdateExpandAllProperties)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ON_COMMAND(ID_SORTPROPERTIES, &amp;amp;CPropertiesWnd::OnSortProperties)....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the below screenshot for more details:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NoorjahanSk_Intel_0-1678356690400.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/38855i6F871FD6323C467F/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="NoorjahanSk_Intel_0-1678356690400.png" alt="NoorjahanSk_Intel_0-1678356690400.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try to make similar changes in your application as mentioned above and let us know If your issue still persists.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Noorjahan.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 10:12:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1463693#M2883</guid>
      <dc:creator>NoorjahanSk_Intel</dc:creator>
      <dc:date>2023-03-09T10:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble compiling MFC code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1464356#M2890</link>
      <description>&lt;P&gt;Thanks, that did it. However I'm getting a few warnings (&lt;STRONG&gt;-Wunused-local-typedef&lt;/STRONG&gt; ). How do I suppress these warnings with the Intel compiler?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 19:41:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1464356#M2890</guid>
      <dc:creator>D_F</dc:creator>
      <dc:date>2023-03-10T19:41:53Z</dc:date>
    </item>
    <item>
      <title>Re:Trouble compiling MFC code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1465509#M2902</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;Thanks, that did it&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Glad to know that it worked for you&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;How do I suppress these warnings with the Intel compiler?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can suppress this warning by adding the&lt;EM&gt;/Wno-unused-local-typedef&lt;/EM&gt; flag under&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Properties -&amp;gt; C/C++ -&amp;gt; Command-line -&amp;gt; Additional-options.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Noorjahan.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Mar 2023 10:47:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1465509#M2902</guid>
      <dc:creator>NoorjahanSk_Intel</dc:creator>
      <dc:date>2023-03-14T10:47:35Z</dc:date>
    </item>
    <item>
      <title>Re:Trouble compiling MFC code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1468016#M2938</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Has the information provided above helped? If yes, Could you please confirm whether we can close this thread from our end?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Noorjahan.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Mar 2023 06:26:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1468016#M2938</guid>
      <dc:creator>NoorjahanSk_Intel</dc:creator>
      <dc:date>2023-03-21T06:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble compiling MFC code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1468141#M2942</link>
      <description>&lt;P&gt;Yes, thanks for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 13:36:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1468141#M2942</guid>
      <dc:creator>D_F</dc:creator>
      <dc:date>2023-03-21T13:36:29Z</dc:date>
    </item>
    <item>
      <title>Re:Trouble compiling MFC code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1468916#M2947</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!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As this issue has been resolved, we will no longer respond to this thread. If you need any additional information, please post a new question&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Noorjahan.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Mar 2023 07:22:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Trouble-compiling-MFC-code/m-p/1468916#M2947</guid>
      <dc:creator>NoorjahanSk_Intel</dc:creator>
      <dc:date>2023-03-23T07:22:23Z</dc:date>
    </item>
  </channel>
</rss>

