John Marriott wrote: > On 23-Jul-2017 04:33, Bram Moolenaar wrote: > > Patch 8.0.0748 > > Problem: When running Vim in a terminal window it does not detect the > > right > > number of colors available. > > Solution: Detect the version string that libvterm returns. Pass the > > number > > of colors in $COLORS. > > Files: src/term.c, src/os_unix.c > > > > > After this patch, my build fails on HPUX with this error if FEAT_MBYTE > is disabled: > ... > Â Â Â cc -c -I. -Iproto -DHAVE_CONFIG_HÂ Â Â Â -O2Â Â Â Â Â Â Â -o > objects/term.o term.c > cc: "term.c", line 4401: error 1588: "col" undefined. > cc: "term.c", line 4401: error 1563: Expression in if must be scalar. > cc: "term.c", line 4417: error 1563: Expression in if must be scalar. > cc: "term.c", line 4423: error 1563: Expression in if must be scalar. > cc: "term.c", line 4432: error 1563: Expression in if must be scalar. > *** Error exit code 1 > > Stop. > *** Error exit code 1 > > Stop. > *** Error exit code 1 > > Stop. > > The attached patch tries to fix it. Please check.
Thanks. Also let's rename "j", as its use is quite confusing. -- hundred-and-one symptoms of being an internet addict: 244. You use more than 20 passwords. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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]. For more options, visit https://groups.google.com/d/optout.
