Y
Hacker News
new
|
ask
|
show
|
jobs
by
Davidbrcz
135 days ago
For main it's explicitly allowed by the standard, and no return is equal to return 0
1 comments
direwolf20
135 days ago
which is super weird. If they can tell the compiler to allow no return, only for main, they can also tell it to pretend void return is int return of 0, only for main.
link