Patrick Texier wrote:

> On Wed, 25 Nov 2009 19:52:16 +0100, Bram Moolenaar wrote:
> 
> > Solution:   Save and restore the line number and line count when calling
> >         reg_getline().
> 
> Using Borland C++, I get the following warnings:
> 
> Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
> .\regexp.c:
> Warning W8065 .\regexp.c 7270: Call to function 'reg_getline_submatch'
> with no prototype in function reg_submatch
> Warning W8065 .\regexp.c 7296: Call to function 'reg_getline_submatch'
> with no prototype in function reg_submatch
> Warning W8065 .\regexp.c 7306: Call to function 'reg_getline_submatch'
> with no prototype in function reg_submatch

Thanks for the report.  I'll make a patch.

-- 
While it's true that many normal people whould prefer not to _date_ an
engineer, most normal people harbor an intense desire to _mate_ with them,
thus producing engineerlike children who will have high-paying jobs long
before losing their virginity.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui