Rip-Rip/clang_complete — Issue #94: clang_complete doesn't support -arch parameter
Author: darkFunction
Created: 2011-10-21 10:05:02+00:00
State: open

I'm trying to use Vim for autocompleting iOS code. I can compile myn project with clang using the -S command to do the code generation and it works fine. However I need to specify the '-arch -386' or '-arch amv6/7' arg for it to work, without this it will not compile and complains of missing headers.

When I pass the same argument list to the clang user options in ~/.vimrc, autocomplete fails to resolve and warns that the -arch argument is not supported.

Do you have any suggestions on how I can work around this? I really want to be able to use clang_complete for my iOS project.

Thanks!
Sam