patch 9.1.0588: The maze program no longer compiles on newer clang Commit: https://github.com/vim/vim/commit/3ce274682b6c4ef6d8d49a8afefe748858e59ba2 Author: Mohamed Akram <mohd.ak...@outlook.com> Date: Mon Jul 15 20:23:36 2024 +0200
patch 9.1.0588: The maze program no longer compiles on newer clang Problem: The maze program no longer compiles on newer clang Solution: Use ANSI C function definition for main() (Mohamed Akram) Implicit int is an error in newer versions of clang. closes: #15247 Signed-off-by: Mohamed Akram <mohd.ak...@outlook.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/macros/maze/mazeclean.c b/runtime/macros/maze/mazeclean.c index 04dcebd22..f0f0bb69c 100644 --- a/runtime/macros/maze/mazeclean.c +++ b/runtime/macros/maze/mazeclean.c @@ -8,7 +8,7 @@ char *M, A, Z, E = 40, line[80], T[3]; int -main (C) +main (int C) { for (M = line + E, *line = A = scanf ("%d", &C); --E; line[E] = M[E] = E) printf ("._"); diff --git a/src/version.c b/src/version.c index 9ce9c8f7a..e97346dbc 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 588, /**/ 587, /**/ -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1sTxvB-0091NT-0b%40256bit.org.