Hi,

On Sat, Apr 21, 2018 at 12:52 PM, Cesar Romani <[email protected]> wrote:
> On 21/04/2018 12:49 p.m., Bram Moolenaar wrote:
>>
>> Patch 8.0.1742
>> Problem:    Cannot get a list of all the jobs.  Cannot get the command
>>             of the job.
>> Solution:   When job_info() is called without an argument return a
>>             list of jobs.  Otherwise, include the command that the job
>>             is running.
>>              (Yegappan Lakshmanan)
>> Files:      runtime/doc/eval.txt, src/channel.c, src/evalfunc.c,
>>              src/proto/channel.pro, src/structs.h,
>>              src/testdir/test_channel.vim
>>
>
> I'm building vim on Windows 7 with MinGW-W64. I get following error:
>
> [...]
> channel.c: In function 'job_start':
> channel.c:5608:17: error: 'argv' undeclared (first use in this function);
> did you mean '__argv'?
>      for (i = 0; argv[i] != NULL; i++)
>                  ^~~~
>                  __argv
> channel.c:5608:17: note: each undeclared identifier is reported only once
> for each function it appears in
> make: *** [gobjZi686/channel.o] Error 1
> Error by compiling gvim.exe
>

Can you try building using the attached patch?

Thanks,
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.

Attachment: argv.diff
Description: Binary data

Raspunde prin e-mail lui