Mercurial > vim
view runtime/delmenu.vim @ 33605:b2075b2d2cca v9.0.2046
patch 9.0.2046: win32,python: warning that MS_WIN64 got re-defined
Commit: https://github.com/vim/vim/commit/436f39390f0a5d4c4877edcf69b469987d706f3c
Author: Ken Takata <kentkt@csc.jp>
Date: Wed Oct 18 11:53:30 2023 +0200
patch 9.0.2046: win32,python: warning that MS_WIN64 got re-defined
Problem: win32,python: warning that MS_WIN64 got re-defined
Solution: Do not define MS_WIN64, as it is no longer used
Suppress the following warning:
```
In file included from C:/Python312-64/include/Python.h:12,
from if_python3.c:79:
C:/Python312-64/include/pyconfig.h:240: warning: "MS_WIN64" redefined
240 | #define MS_WIN64
|
<command-line>: note: this is the location of the previous definition
```
`MS_WIN64` is not defined in `Make_mvc.mak` either.
This should be able to be safely removed.
closes: #13370
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Ken Takata <kentkt@csc.jp>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 18 Oct 2023 12:00:08 +0200 |
parents | 4027cefc2aab |
children |
line wrap: on
line source
" This Vim script deletes all the menus, so that they can be redefined. " Warning: This also deletes all menus defined by the user! " " Maintainer: The Vim Project <https://github.com/vim/vim> " Last Change: 2023 Aug 10 " Former Maintainer: Bram Moolenaar <Bram@vim.org> aunmenu * tlunmenu * if exists('#SetupLazyloadMenus') au! SetupLazyloadMenus augroup! SetupLazyloadMenus endif if exists('#buffer_list') au! buffer_list augroup! buffer_list endif if exists('#LoadBufferMenu') au! LoadBufferMenu augroup! LoadBufferMenu endif if exists('#spellmenu') au! spellmenu augroup! spellmenu endif if exists('#SpellPopupMenu') au! SpellPopupMenu augroup! SpellPopupMenu endif unlet! g:did_install_default_menus unlet! g:did_install_syntax_menu if exists('g:did_menu_trans') menutrans clear unlet g:did_menu_trans endif unlet! g:find_help_dialog unlet! g:menutrans_fileformat_choices unlet! g:menutrans_fileformat_dialog unlet! g:menutrans_help_dialog unlet! g:menutrans_no_file unlet! g:menutrans_path_dialog unlet! g:menutrans_set_lang_to unlet! g:menutrans_spell_add_ARG_to_word_list unlet! g:menutrans_spell_change_ARG_to unlet! g:menutrans_spell_ignore_ARG unlet! g:menutrans_tags_dialog unlet! g:menutrans_textwidth_dialog " vim: set sw=2 :