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

configure: fix configure with modern clang #5

Merged
merged 1 commit into from
Nov 11, 2023
Merged

Conversation

orbea
Copy link
Contributor

@orbea orbea commented Nov 10, 2023

Fix for modern clang versions that are more pedantic.

Checking for a C compiler ... /usr/lib/ccache/bin/clang Checking clang can produce executables ... Fail
n>:2:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
    2 | main() {exit(0);}
      | ^
      | int
1 error generated.

Checking for a C compiler ... /usr/lib/ccache/bin/clang
Checking clang can produce executables ... Fail
n>:2:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
    2 | main() {exit(0);}
      | ^
      | int
1 error generated.
@juur juur merged commit ee36cd6 into juur:master Nov 11, 2023
1 check passed
@orbea orbea deleted the clang branch November 11, 2023 22:44
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