Skip to content

Mac OS X w/ Xcode 5.1.1: error: unknown type name 'FILE' #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
causlayer opened this issue May 5, 2014 · 2 comments
Closed

Mac OS X w/ Xcode 5.1.1: error: unknown type name 'FILE' #68

causlayer opened this issue May 5, 2014 · 2 comments

Comments

@causlayer
Copy link

I've installed llvm using brew:
brew install --with-clang --all-targets --rtti --universal --jit llvm
brew link llvm --force
error:
cc -std=c99 -I/usr/local/Cellar/llvm/3.4/include -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fno-common -Wall -Wextra -pedantic -O3 -I./src -c -o src/obj/completion_serv.o ./src/completion_serv.c
In file included from ./src/completion_serv.c:3:
./src/completion.h:57:75: error: unknown type name 'FILE'
void completion_printCompletionLine(CXCompletionString completion_string, FIL...
^
./src/completion.h:60:72: error: unknown type name 'FILE'
void completion_printCodeCompletionResults(CXCodeCompleteResults res, FILE *...
^
2 errors generated.
make: *
* [src/obj/completion_serv.o] Error 1

How can I install the type name 'FILE' ?

@Sarcasm
Copy link

Sarcasm commented May 5, 2014

#56

@causlayer
Copy link
Author

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants