forked from aniani/vim
patch 8.2.5073: clang on MS-Windows produces warnings
Problem: Clang on MS-Windows produces warnings. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
This commit is contained in:
@@ -198,7 +198,7 @@ Trace(char *pszFormat, ...);
|
||||
|
||||
// These macros should all compile away to nothing
|
||||
# define ASSERT(f) ((void)0)
|
||||
# define TRACE 1 ? (void)0 : printf
|
||||
# define TRACE 1 ? (void)0 : (void)printf
|
||||
# define TRACE0(sz)
|
||||
# define TRACE1(sz, p1)
|
||||
# define TRACE2(sz, p1, p2)
|
||||
|
Reference in New Issue
Block a user