this patch is used to resolve the compile error when linkargs contains
quote(").

btw, how to compile Vim with 3m version of Racket(MzScheme)? it shows when
compile dynamic racket bindings, Vim need libmzgcx.lib file, but 3m version
of Racket (use Precise GC) don't offer this file now. see:
http://docs.racket-lang.org/inside/overview.html

1.4.2 3m Embedding

Racket 3m can be embedded mostly the same as Racket, as long as the
embedding program cooperates with the precise garbage collector as described
in Cooperating with
3m<http://docs.racket-lang.org/inside/im_memoryalloc.html#(part._im~3a3m)>
.

In either your source in the in compiler command line,
#defineMZ_PRECISE_GC before
including "scheme.h". When using raco ctool with the--cc and --3m flags,
MZ_PRECISE_GC is automatically defined.

In addition, some library details are different:

   -

   Under Unix, the library is just "libracket3m.a" (or "libracket3m.so"for a
   dynamic-library build, with "libracket3m.la" for use withlibtool). There
   is no separate library for 3m analogous to CGC’s"libmzgc.a".
   -

   Under Windows, the stub library for use with Microsoft tools is
   "libracket3mx.lib" (where x represents the version number). This library
   identifies the bindings that are provided by"libracket3mx.dll". *There is
   no separate library for 3m analogous to CGC’s "libmzgcx.lib".*

-- 
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

Attachment: patch
Description: Binary data

Raspunde prin e-mail lui