On Saturday, August 10, 2013 10:48:30 AM UTC-4, Nicolas Goles Domic wrote:
> Could anyone try to replicate this ?
> 
> outputs:
> 
> ./configure   
> 
> https://gist.github.com/Goles/37019d14ce9f86311edf
> 
> make 
> Starting make in the src directory.
> If there are problems, cd to the src directory and run make there
> cd src && /Applications/Xcode5-DP4.app/Contents/Developer/usr/bin/make first
> gcc -c -I. -Iproto -DHAVE_CONFIG_H   -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));
>                    ^
> /Applications/Xcode5-DP4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/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: *** [first] Error 2
> 
> 
> Don't really know what could be the problem here, I'm trying to compile with 
> quite a bleeding edge setup here, but should work, if it's Apple's fault I'll 
> be glad to fill a bug report on their side.
> 
> Cheers.

Have you tried building with clang instead? Try:

export CC=clang

before you run the configure script. And in the same shell (where CC=clang is 
exported) do make after.

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui