-
Notifications
You must be signed in to change notification settings - Fork 187
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
c.c is invalid #60
Comments
Did you see #39? CC @Matheus28 |
Fair enough, but then the following C file is equally valid, as you may apparently ignore warnings, and int is implicit if no type is specified:
|
yeah but it works |
The so-called implicit int rule doesn't exist anywhere in the current C standards, and came from a time before C was standardized, so just using |
Exporting an int as 'main' is not a legal C program. This will crash with a bus error on OS X, SEGV on Debian 8 and FreeBSD 10.
The text was updated successfully, but these errors were encountered: