<?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 Getting Warnings: Prefer 'enum class' over 'enum' in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-Warnings-Prefer-enum-class-over-enum/m-p/304699#M8163</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting warnings in almost all examples in VS 2019 with API-25 saying: &lt;STRONG&gt;Prefer 'enum class' over 'enum'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is an example out of many such warnings I get on building the solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;Warning C26812 The enum type 'API_PropertyGroupType' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). DG_Test C:\Program Files\GRAPHISOFT\API Development Kit 25.3002\Support\Inc\APIdefs_Properties.h 274 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It did not give out such warnings in VS 2017 with API-24. Why is this happening here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Sep 2021 10:19:26 GMT</pubDate>
    <dc:creator>dushyant</dc:creator>
    <dc:date>2021-09-03T10:19:26Z</dc:date>
    <item>
      <title>Getting Warnings: Prefer 'enum class' over 'enum'</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-Warnings-Prefer-enum-class-over-enum/m-p/304699#M8163</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting warnings in almost all examples in VS 2019 with API-25 saying: &lt;STRONG&gt;Prefer 'enum class' over 'enum'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is an example out of many such warnings I get on building the solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;Warning C26812 The enum type 'API_PropertyGroupType' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). DG_Test C:\Program Files\GRAPHISOFT\API Development Kit 25.3002\Support\Inc\APIdefs_Properties.h 274 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It did not give out such warnings in VS 2017 with API-24. Why is this happening here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 10:19:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Getting-Warnings-Prefer-enum-class-over-enum/m-p/304699#M8163</guid>
      <dc:creator>dushyant</dc:creator>
      <dc:date>2021-09-03T10:19:26Z</dc:date>
    </item>
  </channel>
</rss>

