On Sunday, May 17, 2020 at 11:15:56 PM UTC-4, Ken Takata wrote: > > Hi, > > 2020/5/18 Mon 9:37:10 UTC+9 Michael Soyka wrote: >> >> Vim developers, >> >> When I try to build gvim on Wiindows XP using mingw with FEATURES=SMALL, >> I get "windowsVersion undeclared" on line 839 of file os_win32.c. This >> variable is instantiated in globals.h but only if FEAT_EVAL is defined and >> this happens only for NORMAL builds. >> >> The compilation error goes away and the test suite passes if the >> "windowsVersion" variable is moved out of the ifdef-block but I'm not >> experienced enough to know if that is the right thing to do so I defer to >> others for a patch. >> >> - mike >> > > "windowsVersion" is used only in the windowsversion() function. > So, I think that the attached patch is better. > > Regards, > Ken Takata >
Hi Ken, I agree that your solution is the correct one since the variable "windowsVersion" is used by the Vim builtin function windowsversion() which requires feature EVAL (I missed that). Related to this topic, I see that windowsversion() is not listed in the help files under either ":help function-list" or ":help functions". Just thought I'd mention it. - mike -- -- 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/692a2ac9-1eb1-4db7-8684-9b034f8f545b%40googlegroups.com.
