Mercurial > vim
comparison src/os_win32.h @ 29105:faf7fcd1c8d5 v8.2.5073
patch 8.2.5073: clang on MS-Windows produces warnings
Commit: https://github.com/vim/vim/commit/35d7a2fb13fc833aa1b654ca6fd6e429e72e6b49
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 9 20:53:54 2022 +0100
patch 8.2.5073: clang on MS-Windows produces warnings
Problem: Clang on MS-Windows produces warnings.
Solution: Avoid the warnings. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/10546)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Jun 2022 22:00:07 +0200 |
parents | 99729fe344f7 |
children | bf4f25d50fdd |
comparison
equal
deleted
inserted
replaced
29104:c58baa6d6dda | 29105:faf7fcd1c8d5 |
---|---|
196 | 196 |
197 #else // !_DEBUG | 197 #else // !_DEBUG |
198 | 198 |
199 // These macros should all compile away to nothing | 199 // These macros should all compile away to nothing |
200 # define ASSERT(f) ((void)0) | 200 # define ASSERT(f) ((void)0) |
201 # define TRACE 1 ? (void)0 : printf | 201 # define TRACE 1 ? (void)0 : (void)printf |
202 # define TRACE0(sz) | 202 # define TRACE0(sz) |
203 # define TRACE1(sz, p1) | 203 # define TRACE1(sz, p1) |
204 # define TRACE2(sz, p1, p2) | 204 # define TRACE2(sz, p1, p2) |
205 # define TRACE3(sz, p1, p2, p3) | 205 # define TRACE3(sz, p1, p2, p3) |
206 # define TRACE4(sz, p1, p2, p3, p4) | 206 # define TRACE4(sz, p1, p2, p3, p4) |