mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-03-01 03:26:12 +00:00
cleanup: fix compile warnings associated with gnu_printf (llama/11811)
This commit is contained in:
parent
d597f83e1a
commit
7fbca6304e
@ -198,7 +198,7 @@
|
|||||||
|
|
||||||
#ifndef __GNUC__
|
#ifndef __GNUC__
|
||||||
# define GGML_ATTRIBUTE_FORMAT(...)
|
# define GGML_ATTRIBUTE_FORMAT(...)
|
||||||
#elif defined(__MINGW32__)
|
#elif defined(__MINGW32__) && !defined(__clang__)
|
||||||
# define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(gnu_printf, __VA_ARGS__)))
|
# define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(gnu_printf, __VA_ARGS__)))
|
||||||
#else
|
#else
|
||||||
# define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
|
# define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user