Ben Schmidt wrote:

> Finally getting around to compiling Vim 7.3, and taking a little more
> interest in the mailing list again. Would love to get back into Vim
> development again if I can find time.
> 
> I use Vim in X on the Mac (gtk2), as well as in the console, as well as
> MacVim. Building for X isn't done much these days, and has caused a
> couple of problems, because os_macosx.c and os_mac_conv.c define
> #NO_X11_INCLUDES.
> 
> - netbeans.pro uses the type BalloonEval which is not included if no X11
>    headers are; I worked around this by adding typedef void to the .c
>    files that #define NO_X11_INCLUDES. It's a nasty hack, but I haven't
>    fiddled with the Vim source code for so long I don't have any idea
>    what the 'right way' would be, so I figured I might as well just do a
>    hack and someone else would know the proper way.

It's probably OK, so long as BalloonEval isn't actually used.

> - FEAT_GUI is not defined if NO_X11_INCLUDES is defined (because doing
>    so would pull in a lot of stuff that needs the X headers), so the
>    check of FEAT_GUI in os_macosx.c is useless; I worked around it by
>    unconditionally defining a different constant.

FEAT_GUI_ELSEWHERE sounds strange.  Otherwise it looks like the best
workaround.

> It'd be great if you could put similar workarounds in the source, Bram,
> so it can compile out of the box.
> 
> Also, I am seeing src/xxd/xxd.dSYM created during a build which isn't
> ignored by hg. It'd be good to add this to .hgignore or something.

I don't see any .dSYM files ignored, don't you see more of these?

-- 
Corduroy pillows: They're making headlines!

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
You received this message from the "vim_use" 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

Reply via email to