On 12/9/2020 4:53 PM, Narcisa Ana Maria Vasile wrote:
On Fri, Dec 04, 2020 at 05:10:20PM -0800, Pallavi Kadam wrote:
Warning generated using Clang compiler:
..\drivers\net\i40e\base/i40e_osdep.h:34:14: warning: forward references
to 'enum' types are a Microsoft extension
[-Wmicrosoft-enum-forward-reference]
typedef enum i40e_status_code i40e_status;
              ^

Adding -Wmicrosoft-enum-forward-reference compiler flag to disable
the warning on Windows Clang.

Signed-off-by: Pallavi Kadam <pallavi.ka...@intel.com>
Reviewed-by: Ranjit Menon <ranjit.me...@intel.com>
---
Why not including the "i40e_status.h" header that contains the definition of 
the enum
in this file?
Thanks, Naty. Added this header file in v2.

Reply via email to