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

add "-std=gnu89" to CFLAGS when using clang compiler #37

Merged
merged 1 commit into from Feb 24, 2014
Merged

add "-std=gnu89" to CFLAGS when using clang compiler #37

merged 1 commit into from Feb 24, 2014

Conversation

wangchuan3533
Copy link
Contributor

By default, Clang builds C code according to the C99 standard, which provides different semantics for the inline keyword than GCC's default behavior. see the clang manual for more info.
the SW_INLINE macro need to be compile with the gnu89 standard.

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.

None yet

2 participants