Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
kevinoid
· 5y ago · 0 comments
To clarify, gcc -Wall only produces the warning with -std=c89/gnu89 (or GCC < 5 without -std=c99/gnu99). As with clang, it implements the implicit `return 0;` for C99 and later. Example:
https://godbolt.org/z/Y7Wx5Y89q
Comments
No comments yet.
Better HN