Skip to content
Snippets Groups Projects
Commit 7b43e275 authored by Martin Storsjö's avatar Martin Storsjö Committed by Steve Lhomme
Browse files

include: Don't use the gnu_printf format attribute with clang


Clang doesn't support this attribute yet.

(cherry picked from commit 070fcc42)

Signed-off-by: default avatarSteve Lhomme <robux4@ycbcr.xyz>
parent d616f01f
No related branches found
No related tags found
2 merge requests!3533Backport MR 3236 to 3.0.x,!938[3.0] include: Don't use the gnu_printf format attribute with clang
Pipeline #162663 passed with stages
in 19 minutes and 28 seconds
......@@ -89,7 +89,7 @@
# define VLC_DEPRECATED_ENUM
# endif
# if defined( _WIN32 )
# if defined( _WIN32 ) && !defined( __clang__ )
# define VLC_FORMAT(x,y) __attribute__ ((format(gnu_printf,x,y)))
# else
# define VLC_FORMAT(x,y) __attribute__ ((format(printf,x,y)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment