Hi,

Under Win10 trying to build gvim x86 fails with Make_ming under MSYS2 since 
8.2.3857.

*# Build Command*
cd $sourcePath/vim/src
make -f Make_ming.mak clean  
FLAGS="OLE=yes GUI=yes XPM=no DIRECTx=yes DYNAMIC_LUA=yes LUA=./$LuaDir/src 
LUA_VER=54 PYTHON3=c:/Python310 DYNAMIC_PYTHON3=yes PYTHON3_VER=311 
DYNAMIC_PYTHON3_DLL=python311.dll RUBY=C:/Ruby30 DYNAMIC_RUBY=yes 
RUBY_VER=30 RUBY_API_VER_LONG=3.0.0 TERMINAL=yes EVENT_LOOP=yes 
STATIC_STDCPLUS=yes" WINVER=0x600
        
make -f Make_ming.mak ${FLAGS} DEBUG=no  


*Error*
In file included from vim.h:434,
                 from if_ole.cpp:16:
termdefs.h:127:16: warning: unnecessary parentheses in declaration of 
'term_strings' [-Wparentheses]
  127 | extern char_u *(term_strings[]);    // current terminal strings
      |                ^
In file included from vim.h:1878,
                 from if_ole.cpp:16:
structs.h:2785:17: warning: unnecessary parentheses in declaration of 
'b_maphash' [-Wparentheses]
 2785 |     mapblock_T *(b_maphash[256]);
      |                 ^
structs.h:3239:16: warning: unnecessary parentheses in declaration of 
'tp_diffbuf' [-Wparentheses]
 3239 |     buf_T     *(tp_diffbuf[DB_COUNT]);
      |                ^
structs.h:3243:18: warning: unnecessary parentheses in declaration of 
'tp_snapshot' [-Wparentheses]
 3243 |     frame_T     *(tp_snapshot[SNAP_COUNT]);  // window layout 
snapshots
      |                  ^
In file included from proto.h:216,
                 from vim.h:2238,
                 from if_ole.cpp:16:
vim9.h:432:13: *error*: expected unqualified-id before 'try'
  432 |  try_T      try;
      |             ^~~
 


*Resulting Makefile Command*
gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 
-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:/Ruby30/include/ruby-3.0.0 -I 
C:/Ruby30/include/ruby-3.0.0/i386-mingw32 -DDYNAMIC_RUBY 
-DDYNAMIC_RUBY_DLL=\"msvcrt-ruby300.dll\" -DRUBY_VERSION=30 -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

-- 
-- 
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/16e26581-9c66-47a6-8c64-49c691958cefn%40googlegroups.com.

Raspunde prin e-mail lui