Build errors with latest CVS of Vim7aa

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Build errors with latest CVS of Vim7aa

Chris Allen
The current CVS version of Vim7aa does not build on OS X when --use-x
is used.  The ./configure line I am using is:

./configure --with-features=huge --enable-gui=no --enable-mouse
--with-x=/usr/X11R6

The error is:

gcc -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX
-I/Developer/Headers/FlatCarbon -no-cpp-precomp  -g -O2
-I/usr/X11R6/include        -o objects/buffer.o buffer.c
In file included from proto.h:265,
                 from vim.h:1668,
                 from buffer.c:28:
proto/os_mac_conv.pro:7: error: parse error before '*' token
proto/os_mac_conv.pro:8: error: parse error before '*' token
proto/os_mac_conv.pro:8: warning: data definition has no type or storage class
proto/os_mac_conv.pro:9: error: parse error before "mac_enc_to_cfstring"
proto/os_mac_conv.pro:9: warning: data definition has no type or storage class
make: *** [objects/buffer.o] Error 1

This appears to stem from os_mac.h's blanket disinclusion of OS X
header files, which leaves UniChar undefined in os_mac_conv.pro

Thanks,
Chris Allen