Hi All,
Disabling the FEAT_LINEBREAK feature causes mingw (7.1.0 x64) to give
this warning:
gcc -c -Iproto -DWIN32 -DWINVER=0x0502 -D_WIN32_WINNT=0x0502
-DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DFEAT_GUI_W32
-DFEAT_CLIPBOARD -DFEAT_MBYTE -pipe -march=native -Wall -O3
-fomit-frame-pointer -freg-struct-return -s edit.c -o gobjnative/edit.o
edit.c: In function 'oneleft': edit.c:7332:6: warning: unused variable
'width' [-Wunused-variable] int width; ^~~~~ Please check the attached
patch. Cheers John
--
--
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.
--- edit.c.orig 2017-06-25 06:05:25.841774600 +1000
+++ edit.c 2017-06-30 05:45:23.701233700 +1000
@@ -7329,7 +7329,9 @@
#ifdef FEAT_VIRTUALEDIT
if (virtual_active())
{
+# ifdef FEAT_LINEBREAK
int width;
+# endif
int v = getviscol();
if (v == 0)