I'm getting warnings in almost all examples in VS 2019 with API-25 saying: Prefer 'enum class' over 'enum'
This is an example out of many such warnings I get on building the solution:
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
It did not give out such warnings in VS 2017 with API-24. Why is this happening here?