I am not sure if this is the best place to do this, but I did:
Index: if_cscope.h
===================================================================
--- if_cscope.h (revision 513)
+++ if_cscope.h (working copy)
@@ -93,6 +93,9 @@
Print
} mcmd_e;
+#ifdef __BORLANDC__
+ typedef long intptr_t;
+#endif
#endif /* FEAT_CSCOPE */
Jeff Lanzarotta <[EMAIL PROTECTED]> wrote: _open_osfhandle() is defined in io.h
as:
io.h:int _RTLENTRY _EXPFUNC _open_osfhandle(long __osfhandle, int __oflag);
Nico Weber <[EMAIL PROTECTED]> wrote:
> I was thinking the same thing but I just wanted to let someone know
> there were errors...
>
> After making the change, everything compiled just fine.
>
> For some reason when I updated my version from the repository,
> if_cscope.c was changed to have these errors...?????
Running
svn log if_cscope.c
svn diff -r 509:510 if_cscope.c
suggests that this was broken with patch 7.1.100 (which is revision
510). How is _open_osfhandle() defined by the borland libs? In which
header? There's an `#ifdef __BORLANDC__ /* stuff*/ #endif` block
missing that fixes this, let's see what the cleanest fix is...
Nico
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---