mirror of
https://github.com/wine-mirror/wine
synced 2024-07-01 07:14:31 +00:00
vkd3d: Disable printf format checks.
clang warns by default, and the existing printf formats assume Unix type definitions.
This commit is contained in:
parent
f76c3c6ce8
commit
2863311d7c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user