[regression][directx-headers][dozen] - dzn_dxcore.cpp build error with directx-headers 1.613.0-1
It looks like updated directx-headers 1.613.0-1 (just appeared in Ubuntu noble) breaks mesa build.
Full build log:
https://launchpadlibrarian.net/720304357/buildlog_ubuntu-noble-amd64.mesa_24.1~git2403200600.831703~oibaf~n_BUILDING.txt.gz
Error:
FAILED: src/microsoft/vulkan/libvulkan_dzn.so.p/dzn_dxcore.cpp.o
...
In file included from /usr/include/X11/Xlib.h:44,
from ../include/vulkan/vulkan.h:58,
from ../src/microsoft/vulkan/dzn_physical_device_enum.h:27,
from ../src/microsoft/vulkan/dzn_dxcore.cpp:24:
/usr/include/directx/dxcore_interface.h:90:5: error: expected identifier before numeric constant
90 | None = 0x0,
| ^~~~
/usr/include/directx/dxcore_interface.h:90:5: error: expected ‘}’ before numeric constant
In file included from /usr/include/directx/dxcore.h:12,
from ../src/microsoft/vulkan/dzn_dxcore.cpp:25:
/usr/include/directx/dxcore_interface.h:89:1: note: to match this ‘{’
89 | {
| ^
/usr/include/directx/dxcore_interface.h:90:5: error: expected unqualified-id before numeric constant
90 | None = 0x0,
| ^~~~
/usr/include/directx/dxcore_interface.h:93:1: error: expected declaration before ‘}’ token
93 | };
| ^
/usr/include/directx/dxcore_interface.h:99:5: error: expected identifier before numeric constant
99 | None = 0x0,
| ^~~~
/usr/include/directx/dxcore_interface.h:99:5: error: expected ‘}’ before numeric constant
/usr/include/directx/dxcore_interface.h:98:1: note: to match this ‘{’
98 | {
| ^
/usr/include/directx/dxcore_interface.h:99:5: error: expected unqualified-id before numeric constant
99 | None = 0x0,
| ^~~~
/usr/include/directx/dxcore_interface.h:104:1: error: expected declaration before ‘}’ token
104 | };
| ^
Edited by Fabio Pedretti