]> git.feebdaed.xyz Git - 0xmirror/vim.git/commit
patch 9.1.2022: using C++ keyword class as member variable name
authorWei Tang <gauchyler@uestc.edu.cn>
Fri, 26 Dec 2025 15:54:46 +0000 (15:54 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 26 Dec 2025 15:54:46 +0000 (15:54 +0000)
commit43b87938f5f4b1322607142dcccdbe20d5259ad6
tree3af1669dc3fa757de107b4d71c97ddff5390e8e5
parent538da34ad3965b57d1298a37db666f00d3ebdb4b
patch 9.1.2022: using C++ keyword class as member variable name

Problem:  A recent commit introduced a member variable named `class` in
          the `exarg` structure, which conflicts with the C++ keyword
          `class`. This causes compilation issues on Windows when VIM
          is compiled with OLE enabled, as "if_ole.cpp" cannot compile
          due to the keyword conflict (after v9.1.2012).
Solution: Rename the member variable of `exarg` from `class` to `ea_class`.
          (Wei Tang)

related: #18949
closes:  #19016

Signed-off-by: Wei Tang <gauchyler@uestc.edu.cn>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/eval.c
src/ex_cmds.h
src/version.c
src/vim9class.c