Borland Make_bc5.mak

40 views
Skip to first unread message

Henry

unread,
Jul 18, 2013, 12:34:32 PM7/18/13
to vim...@googlegroups.com
latest svn.

Borland builds but the executable fails to show menus, toolbars, etc.

Error message pops up:

Error detected while processing C:\build\vim\runtime\menu.vim:

line  156:

E121: Undefined variable: paste#paste_cmd

E15: Invalid expression: 'vnoremenu <script> &Edit.&Paste<Tab>"+gP^I' .
paste#paste_cmd['v']

James McCoy

unread,
Jul 18, 2013, 12:54:55 PM7/18/13
to vim_dev


On Jul 18, 2013 12:34 PM, "Henry" <def...@gmail.com> wrote:
>
> latest svn.

Vim switched to Mercurial a few years ago. See http://code.google.com/p/vim for the latest sources.

Ken Takata

unread,
Dec 15, 2013, 12:05:36 AM12/15/13
to vim...@googlegroups.com
Hi,

I found the cause of this problem. It was caused by 7.3.1182.
The type of st.st_mode is unsigned short on MSVC, but it is signed short
on BCC. Thus, when casting st_mode to long, the value may become a minus
which is handled as an error.

I also found some problems with BCC:
* Can not build with python as reported here:
https://groups.google.com/d/topic/vim_use/_layXHD5hUk/discussion
* Some temporary files are not ignored by mercurial.
* When build with 'make -f Make_bc5.mak DEBUG=yes', DEBUG is defined but
_DEBUG is not defined. TRACE macros defined in os_win32.h cannot be used
because of this.

Attached patch fixes them.

Regards,
Ken Takata

fix-bcc-issues.patch

Bram Moolenaar

unread,
Dec 15, 2013, 4:01:00 AM12/15/13
to Ken Takata, vim...@googlegroups.com
Thanks! I'll put it in the todo list.

--
hundred-and-one symptoms of being an internet addict:
64. The remote to the T.V. is missing...and you don't even care.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages