"main function must return int" build failure(s) — clang 3.9.1

clang refuses void main(...
This code fails:
#include <stdio.h>
void main() {
    printf("Hello world\n");
}
Replacing void by int fixes the issue.
PackageVersionSupposed error messageFull log Bug report
bwbasic 2.20pl2-11bwx_tty.c:69:1: error: 'main' must return 'int' Log 742848

1 errors