John Marriott wrote:
> On 16-Feb-2021 06:39, Bram Moolenaar wrote: > > Patch 8.2.2518 > > Problem: 'listchars' should be window-local. > > Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hi= > nz, > > closes #5206, closes #7850) > > Files: runtime/doc/options.txt, src/buffer.c, src/charset.c, > > src/drawline.c, src/drawscreen.c, src/evalfunc.c, src/global= > s.h, > > src/indent.c, src/message.c, src/misc1.c, src/option.c, > > src/option.h, src/optiondefs.h, src/optionstr.c, > > src/proto/screen.pro, src/screen.c, src/structs.h, > > src/testdir/test_listchars.vim, src/testdir/test_listlbr.vim > > > > > After this patch, HP-UX throws this error message: > <snip> > cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 > -D_REENTRANT -o objects/screen.o screen.c > cc: "screen.c", line 4773: error 1521: Incorrect initialization. > cc: "screen.c", line 4774: error 1521: Incorrect initialization. > cc: "screen.c", line 4775: error 1521: Incorrect initialization. > cc: "screen.c", line 4776: error 1521: Incorrect initialization. > cc: "screen.c", line 4777: error 1521: Incorrect initialization. > cc: "screen.c", line 4778: error 1521: Incorrect initialization. > cc: "screen.c", line 4779: error 1521: Incorrect initialization. > cc: "screen.c", line 4780: error 1521: Incorrect initialization. > *** Error exit code 1 > > Stop. > *** Error exit code 1 > > Stop. > </snip> > > The attached patch is one attempt to make the compiler happy. Not the > most elegant though. I used another solution in patch 8.2.2521. I hope it works for this compiler. -- We learn from our mistakes. Politicians don't make mistakes. /// 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202102162126.11GLQHYD2020501%40masaka.moolenaar.net.
