Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

'WebServices.h' and 'clang-cl' error #4027

@gvanem

Description

@gvanem

Compiling a C or C++ file that includes <WebServices.h> in my Winkit SDK,
generates these errors using clang-cl (ver. 19.1):

In file included from objects/PurchaseOrder.wsdl.c:3:
f:\gv\WinKit\Include\10.0.22621.0\um\WebServices.h(695,1): error: use of empty enum
  695 | } WS_XML_BUFFER_PROPERTY_ID;
      | ^
f:\gv\WinKit\Include\10.0.22621.0\um\WebServices.h(1603,1): error: use of empty enum
 1603 | } WS_SECURITY_ALGORITHM_PROPERTY_ID;
      | ^
2 errors generated.

for these empty enums:

typedef enum
{
} WS_XML_BUFFER_PROPERTY_ID;  // line 695
...
typedef enum
{
} WS_SECURITY_ALGORITHM_PROPERTY_ID;  // line 1603

(The .c-file in question that I used was the generated PurchaseOrder.wsdl.c in this Windows Classic Samples project).

What is the purpose of an empty enum?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions