On 20/02/09 18:02, björn wrote:
> 2009/2/20 Tony Mechelynck:
>> On 20/02/09 13:53, björn wrote:
>>> Hi,
>>>
>>> For the last two weeks or so I've been getting this warning when
>>> compiling Vim (on Mac OS X):
>>>
>>> ex_docmd.c: In function 'do_one_cmd':
>>> ex_docmd.c:5937: warning: 'end' may be used uninitialized in this function
>>> ex_docmd.c: In function 'do_one_cmd':
>>> ex_docmd.c:5937: warning: 'end' may be used uninitialized in this function
>>>
>>> I searched the archives but found no mention of it, so perhaps this is
>>> only happening on OS X?
>>>
>>> Björn
>> Hm, which patchlevel are you compiling? Or are there Mac-only patches in
>> that module? At the current patchlevel (7.2.108), src/ex_docmd.c line
>> 5937 falls in the middle of a multiline comment, and function do_one_cmd
>> spans lines 1662 to 2717 IIUC.
>
> Yes, there are MacVim specific modifications to that file that are not
> in the official sources, hence the discrepancy in line numbers.
>
> Björn

Correction (to what I said in the part you snipped): My latest partwise 
compile didn't include that module and my latest full compile didn't 
include that warning. I guess the latest patch to that module introduced 
it. But it's only a warning, not an error, and AFAICT Vim works OK even 
with it. See also Dominique's post in this thread.

Best regards,
Tony.
-- 
Don't knock President Fillmore.  He kept us out of Vietnam.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui