Skip to content

support clang build#9

Open
lfeng14 wants to merge 1 commit into
BuGlessRB:masterfrom
lfeng14:master
Open

support clang build#9
lfeng14 wants to merge 1 commit into
BuGlessRB:masterfrom
lfeng14:master

Conversation

@lfeng14
Copy link
Copy Markdown

@lfeng14 lfeng14 commented Mar 26, 2024

clang will trigger -Wimplicit-int, when build following code.

main() {
return 0;
}

change to

int main() {
return 0;
}

modifications in other places are also for the same reason

@keithbowes
Copy link
Copy Markdown

It's odd that clang has an issue with that. I thought that int being the default data type was standard.

@BuGlessRB BuGlessRB force-pushed the master branch 4 times, most recently from 4ca880f to ffe0194 Compare May 19, 2026 18:21
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