Skip to content
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

Compilation fails due to -Wreturn-type errors #7

Open
DyniteMrc5 opened this issue Sep 24, 2015 · 0 comments
Open

Compilation fails due to -Wreturn-type errors #7

DyniteMrc5 opened this issue Sep 24, 2015 · 0 comments

Comments

@DyniteMrc5
Copy link

Environment:

gcc --version
Configured with: --prefix=/Applications/Xcode_6.4.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

I get lots of errors about functions which don't declare a return type.

In order to fix it, I had to ./configure CC='gcc -Wno-return-type -std=gnu89'

(Also separate issues: I had to create directories lib and bin or the make failed)

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

1 participant