On 06-Jan-2023 07:00, Bram Moolenaar wrote:
Patch 9.0.1150
Problem:    :interface is not implemented yet.
Solution:   Implement the basics of :interface.
Files:      src/ex_cmds.h, src/ex_docmd.c, src/vim9class.c,
             src/proto/vim9class.pro, src/errors.h, src/vim.h, src/userfunc.c,
             src/proto/userfunc.pro, src/vim9compile.c, src/vim9execute.c,
             src/testdir/test_vim9_class.vim


After this patch msys64 (clang 15.0.5) gives these errors:
<snip>
clang -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603 -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -D__USE_MINGW_ANSI_STDIO -pipe -Wall -O3 -fomit-frame-pointer -fpie -fPIE -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD vim9class.c -o gobjx86-64/vim9class.o
vim9class.c:450:10: error: no member named 'class_flags' in 'struct class_S'
            cl->class_flags = CLASS_INTERFACE;
            ~~  ^
vim9class.c:450:24: error: use of undeclared identifier 'CLASS_INTERFACE'; did you mean 'TKIND_INTERFACE'?
            cl->class_flags = CLASS_INTERFACE;
                              ^~~~~~~~~~~~~~~
                              TKIND_INTERFACE
D:/msys64/ucrt64/include/oaidl.h:652:5: note: 'TKIND_INTERFACE' declared here
    TKIND_INTERFACE = 3,
    ^
2 errors generated.
make: *** [Make_cyg_ming.mak:1206: gobjx86-64/vim9class.o] Error 1
</snip>

Cheers
John

--
--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/3755d67a-7d91-13d5-a6c3-54e840040799%40internode.on.net.

Raspunde prin e-mail lui