Error Building Vim x86 32bit under MSYS2 Win10: error: ‘_UI64_MAX’

閲覧: 11 回
最初の未読メッセージにスキップ

Ni Va

未読、
2021/05/31 7:48:522021/05/31
To: vim_use
Hi,

Reading instructions in src/installPC.txt in order to build Vim x86 under MSYS2 it appears this error :

$ make -f Make_ming.mak
gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DMS_WIN64 -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -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=x86-64 -Wall -DFEAT_XPM_W32 -I xpm/x64/include -I xpm/x64/../include -O3 -fomit-frame-pointer -freg-struct-return charset.c -o gobjx86-64/charset.o
In file included from vim.h:1828,
                 from charset.c:10:
charset.c: In function ‘vim_str2nr’:
structs.h:1311:24: error: ‘_UI64_MAX’ undeclared (first use in this function); did you mean ‘INT64_MAX’?
 1311 | #  define UVARNUM_MAX  _UI64_MAX
      |                        ^~~~~~~~~
structs.h:1311:24: note: in definition of macro ‘UVARNUM_MAX’
 1311 | #  define UVARNUM_MAX  _UI64_MAX

Ni Va

未読、
2021/05/31 9:16:442021/05/31
To: vim_use
Documentation in installPc.txt section MSYS2 should be modified, 

"...  And restart MSYS2 console (select "MSYS2 MSYS" icon from the Start Menu).   "

should be changed to 

"...  And restart MSYS2 console (select "MSYS2 MinGW 32-Bit" icon from the Start Menu for building 32-bit Vim, otherwise select "MSYS2 MinGW 64-Bit" )."

Bram Moolenaar

未読、
2021/05/31 12:41:292021/05/31
To: vim...@googlegroups.com、Ni Va

> Documentation in installPc.txt section MSYS2 should be modified,
>
> "... And restart MSYS2 console (select "MSYS2 MSYS" icon from the Start
> Menu). "
>
> should be changed to
>
> "... And restart MSYS2 console (select "MSYS2 MinGW 32-Bit" icon from the
> Start Menu for building 32-bit Vim, otherwise select "MSYS2 MinGW 64-Bit"
> )."

OK, I'll change that.

--
ARTHUR: Charge!
[They all charge with swords drawn towards the RABBIT. A tremendous twenty
second fight with Peckinpahish shots and borrowing heavily also on the
Kung Fu and karate-type films ensues, in which some four KNIGHTS are
comprehensively killed.]
ARTHUR: Run away! Run away!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// 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 ///
全員に返信
投稿者に返信
転送
新着メール 0 件