Comment Re:Every MS Patch is Utmost Severe? (Score 1) 147
In practice it often really is so; however, there's no obligation for the compilers to actually do it. For example, gcc actually warns if that is assumed:
So we really should return politely from the main function.<b>$</b> cat test.c
#include <stdio.h>
int main()
{
printf("Hello, World!\n");
}
<b>$</b> gcc test.c -o test -Wall
test.c: In function `main':
test.c:6: warning: control reaches end of non-void function