Monday, May 31, 2021

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

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" )."


Le lundi 31 mai 2021 à 13:48:52 UTC+2, Ni Va a écrit :
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

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/6c4364b0-97de-4e8f-b16e-96123c781f53n%40googlegroups.com.

No comments:

Post a Comment