# HG changeset patch # User Bram Moolenaar # Date 1673031605 -3600 # Node ID 88aa7f62cc783b5d75bdd4acedcd3759b6e10e0e # Parent 1e82a58f7cfa736b9f2af0739842177844f03ac7 patch 9.0.1153: build error with some compilers Commit: https://github.com/vim/vim/commit/7d4d87ba89f464810e961c32af1007e26b5dde80 Author: Bram Moolenaar Date: Fri Jan 6 18:59:08 2023 +0000 patch 9.0.1153: build error with some compilers Problem: Build error with some compilers. Solution: Clear pointer the right way. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1153, +/**/ 1152, /**/ 1151, diff --git a/src/vim9class.c b/src/vim9class.c --- a/src/vim9class.c +++ b/src/vim9class.c @@ -606,7 +606,7 @@ early_ret: goto cleanup; for (int i = 0; i < ga_impl.ga_len; ++i) cl->class_interfaces[i] = ((char_u **)ga_impl.ga_data)[i]; - CLEAR_POINTER(ga_impl.ga_data); + VIM_CLEAR(ga_impl.ga_data); ga_impl.ga_len = 0; }