diff options
author | James McCoy <jamessan@jamessan.com> | 2018-11-20 20:22:42 -0500 |
---|---|---|
committer | Marco Hinz <mh.codebro@gmail.com> | 2018-11-24 22:56:25 +0100 |
commit | 2cbac719c3eba8ea5826e16912126d70222911ed (patch) | |
tree | 0db29401ca568a880a8b82fe1930ad3b492193c5 /scripts/gen_help_html.py | |
parent | 02d68fbcae8b97e41aff4dbb40c64994b37dd65a (diff) | |
download | rneovim-2cbac719c3eba8ea5826e16912126d70222911ed.tar.gz rneovim-2cbac719c3eba8ea5826e16912126d70222911ed.tar.bz2 rneovim-2cbac719c3eba8ea5826e16912126d70222911ed.zip |
Downgrade to clang-4.0 to avoid false-positive warnings from clang
* -Wtautological-compare
error: self-comparison always evaluates to true [-Werror,-Wtautological-compare]
for (win_T *wp = ((curtab) == curtab) ? firstwin : (curtab)->tp_firstwin; wp != ((void*)0); wp = wp->w_next) {
* -Wconversion
error: implicit conversion loses floating-point precision: 'const float_T' (aka 'const double') to 'float' [-Werror,-Wconversion]
do { const float_T flt_ = (tv->vval.v_float); switch ((sizeof (flt_) == sizeof (float) ? __fpclassifyf (flt_) : sizeof (flt_) == sizeof (double) ? __fpclassify (flt_) : __fpclassifyl (flt_))) { case 0: { ga_concat(gap, (char_u *)(char_u *) "str2float('nan')"); break; } case 1: { if (flt_ < 0) { ga_append(gap, '-'); } ga_concat(gap, (char_u *)(char_u *) "str2float('inf')"); break; } default: { char numbuf[NUMBUFLEN]; vim_snprintf(numbuf, ((sizeof(numbuf)/sizeof((numbuf)[0])) / ((size_t)(!(sizeof(numbuf) % sizeof((numbuf)[0]))))), "%g", flt_); ga_concat(gap, (char_u *)(char_u *) numbuf); } } } while (0);
~~~~~~~~~~~~~ ^~~~
Diffstat (limited to 'scripts/gen_help_html.py')
0 files changed, 0 insertions, 0 deletions