"Wrong main declaration" build failure(s)
clang 3.0
main declaration should be:
int main(void);
int main(int argc, char *argv[]);
int main(int argc, char **argv);
int main(int argc, char **argv, char **envp);
and clang refuses the declaration:
main (int argc, char*argv[]) { }
# error: C++ requires a type specifier for all declarations
Package | Version | Supposed error message | Full log |
Bug report |
amideco | 0.31e-3.1 | amideco.c:45:5: error: first parameter of 'main' (argument count) must be of type 'int'
| Log |
748818
|
ann | 1.1.2+doc-3 | ann2fig.cpp:583:1: error: C++ requires a type specifier for all declarations
| Log |
748817
|
awardeco | 0.2-3.1 | awardeco.c:37:5: error: first parameter of 'main' (argument count) must be of type 'int'
| Log |
748815
|
emil | 2.1.0-beta9.dfsg-1.1 | conv.c:71:1: error: second parameter of 'main' (argument array) must be of type 'char **'
| Log |
|
flint | 1.011-2 | QS/mpQS.c:403:5: error: second parameter of 'main' (argument array) must be of type 'char **'
| Log |
743009
|
kbuild | 1:0.1.9998svn2543-2 | kmkbuiltin.h:53:12: error: too many parameters (4) for 'main': must be 0, 2, or 3
| Log |
|
kdc2tiff | 0.35-8 | kdc2tiff.cpp:308:1: error: C++ requires a type specifier for all declarations
| Log |
748726
|
konwert | 1.8-11.2 | bin/trs.cc:594:1: error: C++ requires a type specifier for all declarations
| Log |
748725
|
libgnomeuimm2.6 | 2.28.0-1 | iconlist.cc:61:1: error: C++ requires a type specifier for all declarations
| Log |
|
magnus | 20060324-7 | orwp.C:3124:1: error: C++ requires a type specifier for all declarations
| Log |
|
netdiag | 1.0-19 | tcpspray.c:74:3: error: first parameter of 'main' (argument count) must be of type 'int'
| Log |
748632
|
phnxdeco | 0.33-3 | phnxdeco.c:37:5: error: first parameter of 'main' (argument count) must be of type 'int'
| Log |
748630
|
pretzel | 2.0n-2-0.3 | pretty.nw:232:1: error: C++ requires a type specifier for all declarations
| Log |
748628
|
re | 0.1-5 | src/re_cmd.c:12:1: error: C++ requires a type specifier for all declarations
| Log |
748420
|
srf | 0.1+dfsg-1 | testRead.cc:32:1: error: C++ requires a type specifier for all declarations
| Log |
745350
|
xball | 3.0.1-1.1 | xball.c:28:1: error: first parameter of 'main' (argument count) must be of type 'int'
| Log |
742972
|
xevil | 2.02r2-10 | serverping.cpp:352:1: error: C++ requires a type specifier for all declarations
| Log |
742968
|
xjdic | 24-7 | xjdfrontend.c:2582:1: error: second parameter of 'main' (argument array) must be of type 'char **'
| Log |
740227
|
xjdic | 24-7 | xjdfrontend.c:2582:1: error: second parameter of 'main' (argument array) must be of type 'char **'
| Log |
748419
|
19 errors