Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gvanem opened this issue Oct 26, 2024 · 0 comments
Open

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

gvanem opened this issue Oct 26, 2024 · 0 comments
Labels
bug Something isn't working Pri3

Comments

@gvanem
Copy link

gvanem commented Oct 26, 2024

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?

@gvanem gvanem added the bug Something isn't working label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Pri3
Projects
None yet
Development

No branches or pull requests

1 participant