Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
Davidbrcz
1mo ago
0 comments
Share
For main it's explicitly allowed by the standard, and no return is equal to return 0
0 comments
default
newest
oldest
direwolf20
1mo 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.
j
/
k
navigate · click thread line to collapse