Skip to content

Explicitly include <stdio.h> #67

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
wants to merge 1 commit into from
Closed

Conversation

kevinushey
Copy link

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
Copy link

Sarcasm commented May 2, 2014

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

@kevinushey
Copy link
Author

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 :)

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

Successfully merging this pull request may close these issues.

2 participants