Built fails for Huge GVim version since patch v9.0.1356

10 views
Skip to first unread message

N i c o l a s

unread,
Feb 26, 2023, 3:51:52 PM2/26/23
to vim_dev
Hi,

Cloning v9.0.1356, under MSYS2 Win11, gcc.exe (Rev6, Built by MSYS2 project) 12.2.0.

structs.h:3454:22: note: remove parentheses
 3454 |     frame_T         *(tp_snapshot[SNAP_COUNT]);  // window layout snapshots
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                      -                       -
In file included from proto.h:217,
                 from vim.h:2311:
vim9.h:523:30: error: expected unqualified-id before 'class'
  523 |         class_T             *class;
      |                              ^~~~~
make: *** [Make_cyg_ming.mak:1299: gobjx86-64/if_ole.o] Error 1


Capture d’écran 2023-02-26 215002.png

Compiler options:
gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DMS_WIN64 -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 -DHAVE_SODIUM -DDYNAMIC_SODIUM -DDYNAMIC_SODIUM_DLL=\"libsodium-23.dll\" -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=x86-64 -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-x64/include/ruby-3.1.0 -I c:/Ruby31-x64/include/ruby-3.1.0/x64-mingw-ucrt -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"x64-ucrt-ruby310.dll\" -DRUBY_VERSION=31 -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python312.dll\" -O3 -fomit-frame-pointer -freg-struct-return -std=gnu++11 if_ole.cpp -o gobjx86-64/if_ole.o

Thank you
N i c  o  las


Bram Moolenaar

unread,
Feb 27, 2023, 3:08:53 AM2/27/23
to vim...@googlegroups.com, N i c o l a s

> Cloning v9.0.1356, under MSYS2 Win11, gcc.exe (Rev6, Built by MSYS2=20
> project) 12.2.0.
>
> structs.h:3454:22: note: remove parentheses
> 3454 | frame_T *(tp_snapshot[SNAP_COUNT]); // window layout=
> =20
> snapshots
> | ^~~~~~~~~~~~~~~~~~~~~~~~~

This didn't change recently, I wonder why this is a problem.


> In file included from proto.h:217,
> from vim.h:2311:
> vim9.h:523:30: error: expected unqualified-id before 'class'
> 523 | class_T *class;
> | ^~~~~

I'll fix this one.

--
hundred-and-one symptoms of being an internet addict:
185. You order fast food over the Internet

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages