Skip to content

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

@zsd4yr

Description

@zsd4yr

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'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions