On Sun, 3 Nov 2013, Bram Moolenaar wrote:
Hisashi T Fujinaka wrote:
I've been chasing this around and around, but on OS X 10.9 I don't get
HAVE_AVAILABILITY_MACROS_H set in os_unix.c, so there's no #include
<AvailabilityMacros.h> and my compile dies with the following:
os_unix.c:834: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:834:13: error: conflicting types for 'sigaltstack'
extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct
sigaltstack *oss));
^
/Applications/Xcode.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: *** [objects/os_unix.o] Error 1
Have you checked in src/auto/config.log why AvailabilityMacros.h is not
found?
You did do "make reconfigure" or "make distclean"?
AvailabilityMacros.h is found, and HAVE_AVAILABILITY_MACROS_H should be
set. It just isn't when I get to line 807 in os_unix.c. This looks like
a typo somewhere, but autoconf is not my forte.
In config.log:
206 configure:4266: checking AvailabilityMacros.h usability
207 configure:4266: gcc -c -g -O2 -I/sw/include conftest.c >&5
208 configure:4266: $? = 0
209 configure:4266: result: yes
210 configure:4266: checking AvailabilityMacros.h presence
211 configure:4266: gcc -E -I/sw/include conftest.c
212 configure:4266: $? = 0
213 configure:4266: result: yes
214 configure:4266: checking for AvailabilityMacros.h
215 configure:4266: result: yes
And every build is a clean build, so I shouldn't have to make
reconfigure.
--
Hisashi T Fujinaka - [email protected]
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
--
--
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.