Monday, May 31, 2021

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

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/6522585b-4672-4d50-94c4-1617a2e1d0f3n%40googlegroups.com.

No comments: