Skip to content

Instantly share code, notes, and snippets.

@guehara
Created October 25, 2011 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guehara/1313359 to your computer and use it in GitHub Desktop.
Save guehara/1313359 to your computer and use it in GitHub Desktop.
auto-complete-clang settings
(require 'auto-complete-clang)
(setq ac-clang-flags '("-Wall" "-Wextra" "-std=c99" "-fblocks" "-isysroot" "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk" "-I." "-include ../*.pch" "-F/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/" "-D__IPHONE_OS_VERSION_MIN_REQUIRED=40300"))
;; flymake
(add-hook 'objc-mode-hook
(lambda ()
(push 'ac-source-clang ac-sources)
(auto-complete-mode t)
))
@guehara
Copy link
Author

guehara commented Aug 24, 2012

see auto-complete-clang settings for iOS5.1 with ARC https://gist.github.com/3445221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment