Skip to content

Conversation

@lfeng14
Copy link

@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

It's odd that clang has an issue with that. I thought that int being the default data type was 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.

2 participants