"main function must return int" build failure(s)
clang 3.0
clang refuses
void main(...This code fails:
#include <stdio.h>
void main() {
printf("Hello world\n");
}
Replacing
void by
int fixes the issue.
Package | Version | Supposed error message | Full log |
Bug report |
acedb | 4.9.39+dfsg.01-5 | pmapace2.c:91:1: error: 'main' must return 'int'
| Log |
|
admesh | 0.95-11 | admesh.c:30:1: error: 'main' must return 'int'
| Log |
|
aprsdigi | 2.4.4-3.1 | mic_e_test.c:9:1: error: 'main' must return 'int'
| Log |
|
bwbasic | 2.20pl2-11 | bwx_tty.c:69:1: error: 'main' must return 'int'
| Log |
742848
|
checkpw | 1.02-1 | auto-int8.c:16:1: error: 'main' must return 'int'
| Log |
|
dot-forward | 1:0.71-1 | dot-forward.c:382:1: error: 'main' must return 'int'
| Log |
|
fastforward | 1:0.51-3 | fastforward.c:284:1: error: 'main' must return 'int'
| Log |
|
gmemusage | 0.2-11 | gmemusage.c:98:1: error: 'main' must return 'int'
| Log |
|
innfeed | 0.10.1.7-8 | startinnfeed.c:29:1: error: 'main' must return 'int'
| Log |
|
ipip | 1.1.8 | main.c:39:1: error: 'main' must return 'int'
| Log |
|
jvim | 3.0-2.1b-3 | mkcmdtab.c:20:2: error: 'main' must return 'int'
| Log |
|
levee | 3.5a-1.1 | main.c:282:1: error: 'main' must return 'int'
| Log |
|
libkal | 0.9.0-1 | check.c:61:1: error: 'main' must return 'int'
| Log |
|
mscompress | 0.3-3.1 | mscompress.c:309:1: error: 'main' must return 'int'
| Log |
|
netqmail | 1.06-4 | qmail-local.c:447:1: error: 'main' must return 'int'
| Log |
|
radiusclient | 0.3.2-14 | radstatus.c:38:1: error: 'main' must return 'int'
| Log |
|
scottfree | 1.14-9 | ScottCurses.c:1301:1: error: 'main' must return 'int'
| Log |
760675
|
seesat5 | 0.90.10-1.1 | driver.c:305:1: error: 'main' must return 'int'
| Log |
|
time | 1.7-23.1 | time.c:641:1: error: 'main' must return 'int'
| Log |
|
wily | 0.13.41-7.2 | win.c:82:1: error: 'main' must return 'int'
| Log |
|
xcolmix | 1.07-10 | xcolmix.c:54:1: error: 'main' must return 'int'
| Log |
|
xplot | 1.19-9 | xplot.c:55:1: error: 'main' must return 'int'
| Log |
|
xwatch | 2.11-15 | xwatch.c:37:1: error: 'main' must return 'int'
| Log |
|
23 errors