ClosestStorm / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Cannot be built in 10.9 DP6 + Xcode 5 DP6 #472

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I tried to build macvim git by ./configure && make

The make output was:

gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas 
-pipe  -DMACOS_X_UNIX -no-cpp-precomp  -g -O2 -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=1       -o objects/os_unix.o os_unix.c
os_unix.c:830:46: warning: declaration of 'struct sigaltstack' will not be 
visible outside of this function [-Wvisibility]
        extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss));
                                                    ^
./os_unix.h:88:21: note: expanded from macro '__ARGS'
#  define __ARGS(x) x
                    ^
os_unix.c:830:13: error: conflicting types for 'sigaltstack'
        extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss));
                   ^
/usr/include/signal.h:85:5: note: previous declaration is here
int     sigaltstack(const stack_t * __restrict, stack_t * __restrict)  
__DARWIN_ALIAS(sigaltstack);
        ^
1 warning and 1 error generated.
make[1]: *** [objects/os_unix.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [first] Error 2

I can build macvim by

CFLAGS='-DMAC_OS_X_VERSION_MAX_ALLOWED=1060 
-DMAC_OS_X_VERSION_MAX_ALLOWED=1060' ./configure && make

Original issue reported on code.google.com by 191...@gmail.com on 25 Aug 2013 at 8:23

GoogleCodeExporter commented 9 years ago
I would guess this is related to the following thread?

http://vim.1045645.n5.nabble.com/macvim-OS-X-10-9-Mavericks-build-td5716148.html

Original comment by bjorn.winckler@gmail.com on 6 Sep 2013 at 3:30