Hi
I've just tried the "timers.patch". It compiles fine with clang
but with a few easy to fix warnings
ex_docmd.c:11522:11: warning: unused parameter 'eap' [-Wunused-parameter]
exarg_T *eap;
^
os_unix.c:5076:24: warning: unused variable 'now' [-Wunused-variable]
unsigned long long now;
^
timers.c:139:13: warning: comparison of integers of different signs:
'unsigned long long' and 'long' [-Wsign-compare]
if (towait < p_tt)
~~~~~~ ^ ~~~~
timers.c:143:32: warning: comparison of integers of different signs:
'unsigned long long' and 'long' [-Wsign-compare]
if (max_to_wait > 0 && towait > max_to_wait)
~~~~~~ ^ ~~~~~~~~~~~
Also, in the documentation (eval.txt) of settimeout(),
the folllowing example is incorrect as it gives error E117:
:call settimeout(1000, "call echo(2)")
It should be:
:call settimeout(1000, "echo(2)")
Same error in example in help of setinterval(...).
I also see a typo in eval.txt:
Compiled with support for timer funtions.
... should be:
Compiled with support for timer functions.
These are all minor remarks. The timer feature
would be a good addition to Vim!
Dominique
--
--
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/groups/opt_out.