Closed gulfemsavrun closed 1 month ago
Unfortunately, I cannot accept the PR because this repo only contains copies of the header files, it is not the source for them as documented in CONTRIBUTING.md.
The Vulkan-Hpp header (and now module) files are in https://github.com/KhronosGroup/Vulkan-Hpp. Any changes to those files must go to that repository.
@charles-lunarg you can also move issues to other KhronosGroup repos (or ask me to, if you don't have the right permissions).
(Edit: no, NM - this is a PR not an issue and those can't be moved. My bad.)
<sys/sysmacros.h> is included through some other headers. This results in major(x) being resolved to gnu_dev_major(x) which is an expression in a constructor initializer list. This patch includes <sys/sysmacros.h> at the very beginning, and undefines major and minor to avoid them to be resolved to gnu_dev_major(x) or gnu_dev_minor(x).