Skip to content

Commit

Permalink
vkd3d: Disable printf format checks.
Browse files Browse the repository at this point in the history
clang warns by default, and the existing printf formats assume Unix
type definitions.
  • Loading branch information
julliard committed Nov 23, 2023
1 parent f76c3c6 commit 2863311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/vkd3d/include/private/vkd3d_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static inline size_t align(size_t addr, size_t alignment)
# ifdef __MINGW_PRINTF_FORMAT
# define VKD3D_PRINTF_FUNC(fmt, args) __attribute__((format(__MINGW_PRINTF_FORMAT, fmt, args)))
# else
# define VKD3D_PRINTF_FUNC(fmt, args) __attribute__((format(printf, fmt, args)))
# define VKD3D_PRINTF_FUNC(fmt, args) /* __attribute__((format(printf, fmt, args))) */
# endif
# define VKD3D_UNUSED __attribute__((unused))
# define VKD3D_UNREACHABLE __builtin_unreachable()
Expand Down

0 comments on commit 2863311

Please sign in to comment.