comparison src/dosinst.h @ 29113:495d55210aac v8.2.5077

patch 8.2.5077: various warnings from clang on MS-Windows Commit: https://github.com/vim/vim/commit/a34b4460c2843c67a35a2d236b01e6cb9bc38734 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sat Jun 11 10:43:26 2022 +0100 patch 8.2.5077: various warnings from clang on MS-Windows Problem: Various warnings from clang on MS-Windows. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/10553)
author Bram Moolenaar <Bram@vim.org>
date Sat, 11 Jun 2022 11:45:04 +0200
parents faf7fcd1c8d5
children
comparison
equal deleted inserted replaced
29112:a8ee24a8bde1 29113:495d55210aac
339 char *oldexe; // path to existing xxx.exe or NULL 339 char *oldexe; // path to existing xxx.exe or NULL
340 char batpath[BUFSIZE]; // path of batch file to create; not 340 char batpath[BUFSIZE]; // path of batch file to create; not
341 // created when it's empty 341 // created when it's empty
342 } targets[TARGET_COUNT] = 342 } targets[TARGET_COUNT] =
343 { 343 {
344 {"all", "batch files"}, 344 {"all", "batch files", NULL, NULL, NULL, NULL, NULL, NULL, ""},
345 {"vim", "vim.bat", "Vim.lnk", 345 {"vim", "vim.bat", "Vim.lnk",
346 "vim.exe", "vim.exe", ""}, 346 "vim.exe", "vim.exe", "", NULL, NULL, ""},
347 {"gvim", "gvim.bat", "gVim.lnk", 347 {"gvim", "gvim.bat", "gVim.lnk",
348 "gvim.exe", "gvim.exe", ""}, 348 "gvim.exe", "gvim.exe", "", NULL, NULL, ""},
349 {"evim", "evim.bat", "gVim Easy.lnk", 349 {"evim", "evim.bat", "gVim Easy.lnk",
350 "evim.exe", "gvim.exe", "-y"}, 350 "evim.exe", "gvim.exe", "-y", NULL, NULL, ""},
351 {"view", "view.bat", "Vim Read-only.lnk", 351 {"view", "view.bat", "Vim Read-only.lnk",
352 "view.exe", "vim.exe", "-R"}, 352 "view.exe", "vim.exe", "-R", NULL, NULL, ""},
353 {"gview", "gview.bat", "gVim Read-only.lnk", 353 {"gview", "gview.bat", "gVim Read-only.lnk",
354 "gview.exe", "gvim.exe", "-R"}, 354 "gview.exe", "gvim.exe", "-R", NULL, NULL, ""},
355 {"vimdiff", "vimdiff.bat", "Vim Diff.lnk", 355 {"vimdiff", "vimdiff.bat", "Vim Diff.lnk",
356 "vimdiff.exe","vim.exe", "-d"}, 356 "vimdiff.exe","vim.exe", "-d", NULL, NULL, ""},
357 {"gvimdiff","gvimdiff.bat", "gVim Diff.lnk", 357 {"gvimdiff","gvimdiff.bat", "gVim Diff.lnk",
358 "gvimdiff.exe","gvim.exe", "-d"}, 358 "gvimdiff.exe","gvim.exe", "-d", NULL, NULL, ""},
359 {"vimtutor","vimtutor.bat", "Vim tutor.lnk", 359 {"vimtutor","vimtutor.bat", "Vim tutor.lnk",
360 "vimtutor.bat", "vimtutor.bat", ""}, 360 "vimtutor.bat", "vimtutor.bat", "", NULL, NULL, ""},
361 }; 361 };
362 362
363 /* Uninstall key for vim.bat, etc. */ 363 /* Uninstall key for vim.bat, etc. */
364 #define VIMBAT_UNINSTKEY "rem # uninstall key: " VIM_VERSION_NODOT " #" 364 #define VIMBAT_UNINSTKEY "rem # uninstall key: " VIM_VERSION_NODOT " #"
365 365