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. Best, Misty De Meo -- -- 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.
no-cpp-precomp.diff
Description: Binary data
