[Bug 55221] New: Compile error in libs/vkd3d/libs/vkd3d/command.c:6980:5: error: incompatible function pointer types
https://bugs.winehq.org/show_bug.cgi?id=55221 Bug ID: 55221 Summary: Compile error in libs/vkd3d/libs/vkd3d/command.c:6980:5: error: incompatible function pointer types Product: Wine-staging Version: 8.12 Hardware: aarch64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: mike(a)cchtml.com CC: leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com Distribution: --- Wine Staging 8.12 Specific to the ARM 64-bit build with Clang. x86/x86-64 with GCC compile without error. clang -D__STDC__ -c -o libs/vkd3d/aarch64-windows/libs/vkd3d/command.o libs/vkd3d/libs/vkd3d/command.c -Ilibs/vkd3d -Iinclude -Iinclude/msvcrt \ -Ilibs/vkd3d/include -Ilibs/vkd3d/include/private -Ilibs/vkd3d/libs/vkd3d \ -Ilibs/vkd3d/libs/vkd3d-shader -D_UCRT -DWINE_NO_NAMELESS_EXTENSION -DCONST_VTABLE \ -DLIBVKD3D_SOURCE -DLIBVKD3D_SHADER_SOURCE -DLIBVKD3D_UTILS_SOURCE -D__WINE_PE_BUILD -target \ aarch64-windows -fuse-ld=lld -fno-strict-aliasing -Wno-pragma-pack -g -O2 libs/vkd3d/libs/vkd3d/command.c:6738:35: warning: assigning to 'const VkPipelineStageFlags *' (aka 'const unsigned int *') from 'const VkPipelineStageFlagBits *' (aka 'const enum VkPipelineStageFlagBits *') converts between pointers to integer types with different sign [-Wpointer-sign] submit_info.pWaitDstStageMask = &wait_stage_mask; ^ ~~~~~~~~~~~~~~~~ libs/vkd3d/libs/vkd3d/command.c:6816:35: warning: assigning to 'const VkPipelineStageFlags *' (aka 'const unsigned int *') from 'const VkPipelineStageFlagBits *' (aka 'const enum VkPipelineStageFlagBits *') converts between pointers to integer types with different sign [-Wpointer-sign] submit_info.pWaitDstStageMask = &wait_stage_mask; ^ ~~~~~~~~~~~~~~~~ libs/vkd3d/libs/vkd3d/command.c:6980:5: error: incompatible function pointer types initializing 'void (*)(ID3D12CommandQueue *, ID3D12Resource *, UINT, const D3D12_TILED_RESOURCE_COORDINATE *, const D3D12_TILE_REGION_SIZE *, ID3D12Heap *, UINT, const D3D12_TILE_RANGE_FLAGS *, UINT *, UINT *, D3D12_TILE_MAPPING_FLAGS) __attribute__((stdcall))' (aka 'void (*)(struct ID3D12CommandQueue *, struct ID3D12Resource *, unsigned int, const struct D3D12_TILED_RESOURCE_COORDINATE *, const struct D3D12_TILE_REGION_SIZE *, struct ID3D12Heap *, unsigned int, const enum D3D12_TILE_RANGE_FLAGS *, unsigned int *, unsigned int *, enum D3D12_TILE_MAPPING_FLAGS)') with an expression of type 'void (ID3D12CommandQueue *, ID3D12Resource *, UINT, const D3D12_TILED_RESOURCE_COORDINATE *, const D3D12_TILE_REGION_SIZE *, ID3D12Heap *, UINT, const D3D12_TILE_RANGE_FLAGS *, const UINT *, const UINT *, D3D12_TILE_MAPPING_FLAGS) __attribute__((stdcall))' (aka 'void (struct ID3D12CommandQueue *, struct ID3D12Resource *, unsigned int, const struct D3D12_TILED_RESOURCE_COORDINATE *, const struct D3D12_TILE_REGION_SIZE *, struct ID3D12Heap *, unsigned int, const enum D3D12_TILE_RANGE_FLAGS *, const unsigned int *, const unsigned int *, enum D3D12_TILE_MAPPING_FLAGS)') [-Wincompatible-function-pointer-types] d3d12_command_queue_UpdateTileMappings, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [Makefile:135447: libs/vkd3d/aarch64-windows/libs/vkd3d/command.o] Error 1 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55221 --- Comment #1 from Henri Verbeet <hverbeet(a)gmail.com> --- I think d3d12.idl wasn't updated for upstream vkd3d commit e98e6c9b530995e68bd019a3319d90223ed864cf. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55221 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #2 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- This should now be fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55221 --- Comment #3 from Michael Cronenworth <mike(a)cchtml.com> --- Confirmed fixed in 8.13. Thanks! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55221 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing Fixed wine-staging bug. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla