Y
Hacker News
new
|
ask
|
show
|
jobs
by
few
139 days ago
And their code example doesn't actually return a value!
1 comments
Davidbrcz
139 days ago
For main it's explicitly allowed by the standard, and no return is equal to return 0
link
direwolf20
139 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