Loading ...
Sorry, an error occurred while loading the content.

Re: recompiling with cscope on mac os x

Expand Messages
  • Bram Moolenaar
    ... First of all, try make distclean . If you change configure arguments you may need to clean up things first. The problem in eval.c is caused by using the
    Message 1 of 3 , May 2 11:24 AM
    • 0 Attachment
      Stephane Huaulme wrote:

      > I eventually used
      >
      > ./configure --enable-cscope
      >
      > and it yields the same results. it looks like the problem is affecting
      > 6.2a (TOT CVS) only.
      > 6.1 is working fine

      First of all, try "make distclean". If you change configure arguments
      you may need to clean up things first.

      The problem in eval.c is caused by using the +eval feature without the
      +visual feature. A strange combination, which is why nobody noticed
      this before. Patch for this:

      *** eval.c~ Wed Apr 30 21:19:04 2003
      --- eval.c Fri May 2 19:56:41 2003
      ***************
      *** 6847,6852 ****
      --- 6847,6853 ----
      VAR argvars;
      VAR retvar;
      {
      + #ifdef FEAT_VISUAL
      char_u str[2];

      retvar->var_type = VAR_STRING;
      ***************
      *** 6860,6865 ****
      --- 6861,6869 ----
      || (argvars[0].var_type == VAR_STRING
      && *get_var_string(&argvars[0]) != NUL))
      curbuf->b_visual_mode_eval = NUL;
      + #else
      + retvar->var_val.var_number = 0; /* return anything, it won't work anyway */
      + #endif
      }

      /*

      --
      hundred-and-one symptoms of being an internet addict:
      146. You experience ACTUAL physical withdrawal symptoms when away
      from your 'puter and the net.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.