>  +#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.

I used it for exception messages in Python. It is also present in version.c: 
https://bitbucket.org/ZyX_I/vim/src/ef30fcd05203feee8ca40a23ac75eed55549c681/src/version.c#cl-52
 (#if protected with comment

>      * Construct the long version string.  Necessary because
>      * VAX C can't catenate strings in the preprocessor.

, #if checks whether we are using VMS and VAX compiler). It is used a lot in 
term.c: 
https://bitbucket.org/ZyX_I/vim/src/ef30fcd05203feee8ca40a23ac75eed55549c681/src/term.c#cl-166,
 
https://bitbucket.org/ZyX_I/vim/src/ef30fcd05203feee8ca40a23ac75eed55549c681/src/term.c#cl-394,
 including #if defined(VMS)-protected 
https://bitbucket.org/ZyX_I/vim/src/ef30fcd05203feee8ca40a23ac75eed55549c681/src/term.c#cl-745
 (note ESC_STR "some string" sequences: they expand to (char_u *)"\x27" "some 
string"). This all is protected with #ifdef EBCDIC though, I am not sure when 
this macros is defined (looks like a compatibility layer for the compilers you 
describe).

Thus I think it is logical to replace with code similar to that in version.c 
which only avoids using preprocessor string concatenation when using VMS VAX 
compiler. Do you really need to support this? I heard it was replaced with 
DEC/Compaq C which supports C89.

-- 
-- 
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.

Raspunde prin e-mail lui