Misty De Meo wrote:

> Vim currently unconditionally adds the -no-cpp-precomp flag on Mac OS
> X, with a comment that it's "needed for OS X 10.2". The flag currently
> does nothing in modern versions of OS X (the last version of Apple GCC
> that actually did anything with it was released in December, 2002),
> and prevents vim from being built with non-Apple compilers. For
> example, FSF GCC 4.8 will fail due to the unrecognized flag. (There's
> some more information on this in my blog post about it:
> http://www.mistydemeo.com/?p=78)
> 
> The attached patch simply unconditionally removes the sections of code
> that add -no-cpp-precomp, with the assumption that users trying to
> compile vim on OS X 10.2 or lower can simply use a newer compiler. I
> can try to detect Apple GCC 2.95 to enable it if necessary, but
> unfortunately I don't have a Mac running an OS older than 10.4 so I
> can't test for that case.

Thanks.  It should be possible to have a check for OX X 10.2 or earlier.
I believe that the compilation fails in bad ways otherwise, if I
remember correctly (used this on my old Powerbook, haven't used it in a
long time).

-- 
Life is a gift, living is an art.               (Bram Moolenaar)

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

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