Golevka / emacs-clang-complete-async

An emacs plugin to complete C and C++ code using libclang
359 stars 71 forks source link

Explicitly include <stdio.h> #67

Closed kevinushey closed 10 years ago

kevinushey commented 10 years ago

I was getting compile errors with FILE as an undefined symbol without <stdio.h> explicitly included. Of course, this could be my error rather than yours, so here's my compiler info:

$ cc -v
clang version 3.5.0 (trunk 203549)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
$ llvm-config --cflags
-I/usr/local/llvm/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3  -fno-common

This is a relatively 'vanilla' version of clang built from source, on OS X Mavericks.

Sarcasm commented 10 years ago

This pull request has already been submitted, see #56.

kevinushey commented 10 years ago

Thanks. That PR (and the last commit) was a year ago, so I guess this project is orphaned at the moment... maybe I should check out irony-mode :)