Jean-François Bignolles wrote: > Le lundi 2 juin 2014 16:43:42 UTC+2, Bram Moolenaar a écrit : > > > > I notice you use string concatenation: > > > > +#define RUNTIME_AFTER RUNTIME_USER "/after" > > > > Older C compilers do not support this. I'm not sure which ones, it is > > not used yet in Vim. > > Wrong. At least in "os_unix.h", for unpatched Vim 7.4 source, line 426: > > # define DFLT_RUNTIMEPATH "~/.vim," RUNTIME_GLOBAL ",$VIMRUNTIME," > RUNTIME_GLOBAL "/after,~/.vim/after" > > That's why I did not ask myself any question about string litterals > concatenation. It's a C89 feature, and had probably been available > in some pre-ANSI compilers.
Not on some systems though. The question is if this is still relevant. > Example: for Amiga, look "3.7 String merging" at: > > https://archive.org/stream/Manx_Aztec_C_Compiler_1986_Manx_Software_Systems#page/n45/mode/2up I recall it not working for some Amiga compilers. But that's history. Current Vim probably doesn't fit in memory of those systems anyway. -- hundred-and-one symptoms of being an internet addict: 265. Your reason for not staying in touch with family is that they do not have e-mail addresses. /// 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.
