I'm compiling vim on Windows 7 with MinGW-W64, gcc 7.2.0.
I get some warnings:

--------------------
gcc -c -Iproto -DWIN32 [...] -o gobjZi686/terminal.o
terminal.c: In function 'term_and_job_init':
terminal.c:5504:30: warning: passing argument 2 of 'build_argv_from_string' from incompatible pointer type [-Wincompatible-pointer-types]
  build_argv_from_string(cmd, &job->jv_argv, &argc);
                              ^
In file included from proto.h:143:0,
                 from vim.h:2113,
                 from terminal.c:62:
proto/misc2.pro:114:5: note: expected 'char ***' but argument is of type 'char_u *** {aka unsigned char ***}'
 int build_argv_from_string(char_u *cmd, char ***argv, int *argc);
     ^~~~~~~~~~~~~~~~~~~~~~
terminal.c:5510:44: warning: passing argument 2 of 'build_argv_from_list' from i ncompatible pointer type [-Wincompatible-pointer-types]
  build_argv_from_list(argvar->vval.v_list, &job->jv_argv, &argc);
                                            ^
In file included from proto.h:143:0,
                 from vim.h:2113,
                 from terminal.c:62:
proto/misc2.pro:115:5: note: expected 'char ***' but argument is of type 'char_u *** {aka unsigned char ***}'
 int build_argv_from_list(list_T *l, char ***argv, int *argc);
     ^~~~~~~~~~~~~~~~~~~~
--------------------

Regards,

--
Cesar

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