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

[c++] idl.h ERROR enum conflicts with windows define #8483

Open
zsd4yr opened this issue Jan 14, 2025 · 0 comments
Open

[c++] idl.h ERROR enum conflicts with windows define #8483

zsd4yr opened this issue Jan 14, 2025 · 0 comments

Comments

@zsd4yr
Copy link

zsd4yr commented Jan 14, 2025

f838017 /~https://github.com/wine-mirror/wine/blob/f2eebf36266fa0c3809472701763a6e468cd5ba3/include/wingdi.h#L1598

The result is a compile error if you reference both
1>/sdk/flatbuffers/24.3.25/include\flatbuffers/idl.h(636,49): error : expected identifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\wingdi.h(118,29): message : expanded from macro 'ERROR'

@zsd4yr zsd4yr changed the title idl.h ERROR enum conflicts with windows define [c++] idl.h ERROR enum conflicts with windows define Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant