Hi all,
I am seeing the following warnings when building the latest Vim
on MS-Windows using the mingw-w64 tool chain (gcc 7.2.0).
undo.c: In function 'u_save_cursor':
undo.c:270:6: warning: assuming signed overflow does not occur when
assuming that (X - c) > X is always false [-Wstrict-overflow]
if (top > curbuf->b_ml.ml_line_count
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|| top >= bot
^~~~~~~~~~~~~
userfunc.c: In function 'get_funccal_local_ht':
userfunc.c:3595:2: warning: assuming signed overflow does not occur
when assuming that (X + c) < X is always false [-Wstrict-overflow]
for (i = 0; i < debug_backtrace_level; i++)
^~~
userfunc.c: In function 'get_funccal_local_var':
userfunc.c:3595:2: warning: assuming signed overflow does not occur
when assuming that (X + c) < X is always false [-Wstrict-overflow]
for (i = 0; i < debug_backtrace_level; i++)
^~~
userfunc.c: In function 'get_funccal_args_ht':
userfunc.c:3595:2: warning: assuming signed overflow does not occur
when assuming that (X + c) < X is always false [-Wstrict-overflow]
for (i = 0; i < debug_backtrace_level; i++)
^~~
userfunc.c: In function 'get_funccal_args_var':
userfunc.c:3595:2: warning: assuming signed overflow does not occur
when assuming that (X + c) < X is always false [-Wstrict-overflow]
for (i = 0; i < debug_backtrace_level; i++)
^~~
libvterm/src/pen.c: In function 'vterm_state_newpen':
libvterm/src/pen.c:159:1: warning: visibility attribute not supported
in this configuration; ignored [-Wattributes]
}
^
libvterm/src/pen.c: In function 'vterm_state_resetpen':
libvterm/src/pen.c:175:1: warning: visibility attribute not supported
in this configuration; ignored [-Wattributes]
}
^
libvterm/src/pen.c: In function 'vterm_state_savepen':
libvterm/src/pen.c:195:1: warning: visibility attribute not supported
in this configuration; ignored [-Wattributes]
}
^
libvterm/src/pen.c: In function 'vterm_state_setpen':
libvterm/src/pen.c:387:1: warning: visibility attribute not supported
in this configuration; ignored [-Wattributes]
}
^
libvterm/src/pen.c: In function 'vterm_state_getpen':
libvterm/src/pen.c:462:1: warning: visibility attribute not supported
in this configuration; ignored [-Wattributes]
}
^
libvterm/src/screen.c: In function 'vterm_screen_free':
libvterm/src/screen.c:665:1: warning: visibility attribute not
supported in this configuration; ignored [-Wattributes]
}
^
libvterm/src/state.c: In function 'vterm_state_free':
libvterm/src/state.c:83:1: warning: visibility attribute not supported
in this configuration; ignored [-Wattributes]
}
^
libvterm/src/unicode.c: In function 'vterm_unicode_width':
libvterm/src/unicode.c:346:1: warning: visibility attribute not
supported in this configuration; ignored [-Wattributes]
}
^
libvterm/src/unicode.c: In function 'vterm_unicode_is_combining':
libvterm/src/unicode.c:351:1: warning: visibility attribute not
supported in this configuration; ignored [-Wattributes]
}
^
libvterm/src/vterm.c: In function 'vterm_allocator_malloc':
libvterm/src/vterm.c:83:1: warning: visibility attribute not supported
in this configuration; ignored [-Wattributes]
}
^
libvterm/src/vterm.c: In function 'vterm_allocator_free':
libvterm/src/vterm.c:88:1: warning: visibility attribute not supported
in this configuration; ignored [-Wattributes]
}
^
libvterm/src/vterm.c: In function 'vterm_push_output_bytes':
libvterm/src/vterm.c:126:1: warning: visibility attribute not
supported in this configuration; ignored [-Wattributes]
}
^
libvterm/src/vterm.c: In function 'vterm_push_output_vsprintf':
libvterm/src/vterm.c:182:1: warning: visibility attribute not
supported in this configuration; ignored [-Wattributes]
}
^
libvterm/src/vterm.c: In function 'vterm_push_output_sprintf':
libvterm/src/vterm.c:190:1: warning: visibility attribute not
supported in this configuration; ignored [-Wattributes]
}
^
libvterm/src/vterm.c: In function 'vterm_push_output_sprintf_ctrl':
libvterm/src/vterm.c:208:1: warning: visibility attribute not
supported in this configuration; ignored [-Wattributes]
}
^
libvterm/src/vterm.c: In function 'vterm_push_output_sprintf_dcs':
libvterm/src/vterm.c:228:1: warning: visibility attribute not
supported in this configuration; ignored [-Wattributes]
}
^
Regards,
Yegappan
--
--
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.