mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-03 01:51:48 +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
|
# ifdef __MINGW_PRINTF_FORMAT
|
||||||
# define VKD3D_PRINTF_FUNC(fmt, args) __attribute__((format(__MINGW_PRINTF_FORMAT, fmt, args)))
|
# define VKD3D_PRINTF_FUNC(fmt, args) __attribute__((format(__MINGW_PRINTF_FORMAT, fmt, args)))
|
||||||
# else
|
# else
|
||||||
# define VKD3D_PRINTF_FUNC(fmt, args) __attribute__((format(printf, fmt, args)))
|
# define VKD3D_PRINTF_FUNC(fmt, args) /* __attribute__((format(printf, fmt, args))) */
|
||||||
# endif
|
# endif
|
||||||
# define VKD3D_UNUSED __attribute__((unused))
|
# define VKD3D_UNUSED __attribute__((unused))
|
||||||
# define VKD3D_UNREACHABLE __builtin_unreachable()
|
# define VKD3D_UNREACHABLE __builtin_unreachable()
|
||||||
|
|
Loading…
Reference in a new issue