comparison src/os_unix.c @ 26480:cf986610be6a v8.2.3770

patch 8.2.3770: new compiler warnings from clang-12 and clang-13 Commit: https://github.com/vim/vim/commit/dee78e1ce857985c06ff18e20daeadfe1622b8ae Author: ichizok <gclient.gaap@gmail.com> Date: Thu Dec 9 21:08:01 2021 +0000 patch 8.2.3770: new compiler warnings from clang-12 and clang-13 Problem: New compiler warnings from clang-12 and clang-13. Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/9314)
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Dec 2021 22:15:03 +0100
parents caad9c0ba543
children fc859aea8cec
comparison
equal deleted inserted replaced
26479:63f4875b1966 26480:cf986610be6a
3374 windgoto((int)Rows - 1, 0); // may have moved the cursor 3374 windgoto((int)Rows - 1, 0); // may have moved the cursor
3375 } 3375 }
3376 } 3376 }
3377 3377
3378 #ifdef USE_GCOV_FLUSH 3378 #ifdef USE_GCOV_FLUSH
3379 extern void __gcov_flush(); 3379 # if (defined(__GNUC__) \
3380 && ((__GNUC__ == 11 && __GNUC_MINOR__ >= 1) || (__GNUC__ >= 12))) \
3381 || (defined(__clang__) && (__clang_major__ >= 12))
3382 extern void __gcov_dump(void);
3383 extern void __gcov_reset(void);
3384 # define __gcov_flush() do { __gcov_dump(); __gcov_reset(); } while (0)
3385 # else
3386 extern void __gcov_flush(void);
3387 # endif
3380 #endif 3388 #endif
3381 3389
3382 void 3390 void
3383 mch_exit(int r) 3391 mch_exit(int r)
3384 { 3392 {