logoalt Hacker News

Davidbrczyesterday at 7:33 PM2 repliesview on HN

For main it's explicitly allowed by the standard, and no return is equal to return 0


Replies

direwolf20today at 12:01 AM

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.

GrowingSidewaysyesterday at 7:58 PM

[dead]