> Here are my flags 
> 
> FLAGS="OLE=yes GUI=yes XPM=no DIRECTx=yes DYNAMIC_LUA=yes LUA=./$LuaDir/src 
> LUA_VER=54 \
>         PYTHON3=$Python3Dir DYNAMIC_PYTHON3=yes PYTHON3_VER=311 
> DYNAMIC_PYTHON3_DLL=python311.dll \
>         RUBY=$RubyDir DYNAMIC_RUBY=yes RUBY_VER=31 RUBY_API_VER_LONG=3.1.0 
> -I/c/Ruby31-x64/include/ruby-3.1.0/ruby \
>         TERMINAL=yes EVENT_LOOP=yes STATIC_STDCPLUS=yes WINVER=0x0A00"
> 
> With dirs
>      LuaDir="./lua-5.4.4"
>      RubyDir="c:/Ruby31"
>      Python3Dir="c:/Python310"
> 
> Here is the make command that build gvim.exe when OLE fag is set to no.
> mingw32-make -f Make_ming.mak ${FLAGS} DIRECTX=yes DEBUG=no OLE=no
> 
> And then if i set OLE flag to yes causes error
> # mingw32-make -f Make_ming.mak ${FLAGS} DIRECTX=yes DEBUG=no OLE=yes
> gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00 
> -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H 
> -DDYNAMIC_GETTEXT -DFEAT_OLE -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG 
> -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP -DFEAT_TERMINAL 
> -DFEAT_SOUND -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI 
> -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -DFEAT_MBYTE_IME -DDYNAMIC_IME 
> -DDYNAMIC_ICONV -pipe -march=i686 -Wall -I./lua-5.4.4/src/include 
> -I./lua-5.4.4/src -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua54.dll\" 
> -DFEAT_RUBY -I c:/Ruby31/include/ruby-3.1.0 -I 
> c:/Ruby31/include/ruby-3.1.0/i386-mingw32 -DDYNAMIC_RUBY 
> -DDYNAMIC_RUBY_DLL=\"msvcrt-ruby310.dll\" -DRUBY_VERSION=31 -DFEAT_PYTHON3 
> -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python311.dll\" -O3 
> -fomit-frame-pointer -freg-struct-return -std=gnu++11 if_ole.cpp -o 
> gobji686/if_ole.o
> In file included from vim.h:433,
>                  from if_ole.cpp:16:
> 
> proto/usercmd.pro:3:76: error: expected ')' before 'compl' token
>     3 | char_u *set_context_in_user_cmdarg(char_u *cmd, char_u *arg, long 
> argt, int compl, expand_T *xp, int forceit);
>       |                                   ~                                 
>        ^~~~~~
>       |                                                                     
>        )
> proto/usercmd.pro:3:77: error: expected initializer before 'compl' token
>     3 | char_u *set_context_in_user_cmdarg(char_u *cmd, char_u *arg, long 
> argt, int compl, expand_T *xp, int forceit);
>       |                                                                     
>         ^~~~~
> mingw32-make: *** [Make_cyg_ming.mak:1274: gobji686/if_ole.o] Error 1

It turns out that some C++ standard added "compl" as a keyword.  It's an
alternative for the ~ operator.

Strange that there is no complaint from any other build setup.

I'll rename it.

-- 
I got a new desk stapler. It broke on the first desk I tried.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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/20220218135813.2AF851C0D2C%40moolenaar.net.

Raspunde prin e-mail lui