On Friday, June 14, 2013 9:15:48 PM UTC+2, Bram Moolenaar wrote:
> Christian Wellenbrock wrote:
> 
> 
> 
> > > > I just cloned a completely new copy of the hg vim sources and called
> 
> > > > make from the src folder. I get the following errors:
> 
> > > 
> 
> > > > https://gist.github.com/wellle/5783452/raw/b7b02012331575f646b5bb09246329947ae7eb44/gistfile1.txt
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > Check the definition of MAC_OS_X_VERSION_MAX_ALLOWED
> 
> > > This line is only supposed to be included for some old OSX version.
> 
> > 
> 
> > MAC_OS_X_VERSION_MAX_ALLOWED doesn't seem to be defined. I searched the 
> > whole vim directory and could only find the following two lines in 
> > src/os_unix.c. Where is it supposed to be defined?
> 
> > 
> 
> > vim hg:default ❱ ag -a VERSION_MAX
> 
> > src/os_unix.c
> 
> > 826:#  if defined(__APPLE__) && (!defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
> 
> > 827:            || MAC_OS_X_VERSION_MAX_ALLOWED <= 1040)
> 
> > vim hg:default ❱
> 
> 
> 
> Could be defined in a header file, or by the compiler itself.
> 
> Try this:
> 
> 
> 
>       gcc -dM -E - < /dev/null
> 
> 
> 
> If MAC_OS_X_VERSION_MAX_ALLOWED is no longer defined, perhaps there is
> 
> another one to identify the OSX version?
> 
> 
> 
> -- 
> 
> hundred-and-one symptoms of being an internet addict:
> 
> 199. You read this entire list of symptoms, looking for something
> 
>      that doesn't describe you.
> 
> 
> 
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
> 
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> 
> \\\  an exciting new programming language -- http://www.Zimbu.org        ///
> 
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

MAC_OS_X_VERSION_MAX_ALLOWED is indeed not included in the resulting list of 
defines:

https://gist.github.com/wellle/5784475/raw/e04d59e291a4fba221469d9816dbd2008f99cbeb/gistfile1.txt

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