Issue 366 in vim: compilation problems on yosemite

2015-05-18 Thread vim

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 366 by ctrud...@arsensa.com: compilation problems on yosemite
https://code.google.com/p/vim/issues/detail?id=366

What steps will reproduce the problem?
1. ./configure --prefix=/usr/local --disable-darwin --enable-gui=no
2. make

What is the expected output? What do you see instead?

Compilation error:

os_unix.c:830:13: error: conflicting types for 'sigaltstack'


What version of the product are you using? On what operating system?

Vim 7.4

OS X 10.10.3

$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr  
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1

Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix

Please provide any additional information below.

There seems to be posts around the web about this issue on Maverick but not  
on Yosemite.  It doesn't appear to have been fixed.  Patches exist.   
Applying this one fixed the problem for me:



# HG changeset patch
# User Nicolas Goles 
# Date 1376276970 14400
#  Sun Aug 11 23:09:30 2013 -0400
# Node ID 75f44cf36d49b713f5fc5468db800d4e27d2a2c1
# Parent  a643d80b65071c4713309430a0c29da35ff90d45
Fixes error while compiling under OS X 10.9 Mavericks

diff -r a643d80b6507 -r 75f44cf36d49 src/os_unix.c
--- a/src/os_unix.c Sat Aug 10 15:00:24 2013 +0200
+++ b/src/os_unix.c Sun Aug 11 23:09:30 2013 -0400
@@ -827,7 +827,7 @@
|| MAC_OS_X_VERSION_MAX_ALLOWED <= 1040)
/* missing prototype.  Adding it to osdef?.h.in doesn't work, because
 * "struct sigaltstack" needs to be declared. */
-	extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct  
sigaltstack *oss));
+ extern int sigaltstack __ARGS((const stack_t *restrict ss, stack_t  
*restrict oss));

 #  endif

 #  ifdef HAVE_SS_BASE


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 366 in vim: compilation problems on yosemite

2015-05-18 Thread vim


Comment #1 on issue 366 by ht.mtche...@gmail.com: compilation problems on  
yosemite

https://code.google.com/p/vim/issues/detail?id=366


What version of the product are you using? On what operating system?
Vim 7.4
OS X 10.10.3


If 7.4 meant 7.4.000, it's too old.

Use 7.4.062 or later, at which versions the problem you reported above was  
fixed for OS X 10.9.x.  The latest version is 7.4.729.


I tried building 7.4.729 on OS X 10.10.3 with the same configure options  
you used, and found it built successfully.




--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 366 in vim: compilation problems on yosemite

2015-05-19 Thread vim


Comment #2 on issue 366 by ctrud...@arsensa.com: compilation problems on  
yosemite

https://code.google.com/p/vim/issues/detail?id=366

I just grabbed whatever was in the downloads directory as I don't have  
Mecurial installed on this machine.  By the looks of it, it is just 7.4.   
Feel free to close the ticket.  When I get around to installing Mecurial  
I'll re-open if I continue having problems.


Thanks for the quick response.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 366 in vim: compilation problems on yosemite

2015-05-22 Thread vim

Updates:
Status: Fixed

Comment #3 on issue 366 by chrisbr...@googlemail.com: compilation problems  
on yosemite

https://code.google.com/p/vim/issues/detail?id=366

Closing

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.