"Wrong main declaration" build failure(s)
clang 6.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
|
| awardeco | 0.2-3.1 | awardeco.c:37:5: error: first parameter of 'main' (argument count) must be of type 'int'
| Log |
748815
|
| fweb | 1.62-13 | ./t_type.h:53:5: error: second parameter of 'main' (argument array) must be of type 'char **'
| Log |
|
| inventor | 2.1.5-10-21 | ppp.c++:630:1: error: C++ requires a type specifier for all declarations
| Log |
|
| kdc2tiff | 0.35-10 | kdc2tiff.cpp:308:1: error: C++ requires a type specifier for all declarations
| Log |
748726
|
| lcalc | 1.23+dfsg-6 | ../include/Lcomplex.h:138:14: error: C++ requires a type specifier for all declarations
| Log |
748898
|
| librg-blast-parser-perl | 0.03-5 | blast-parser-driver.h:61:12: error: C++ requires a type specifier for all declarations
| Log |
|
| librostlab-blast | 1.0.1-8 | ./rostlab/blast-parser-driver.h:61:12: error: C++ requires a type specifier for all declarations
| Log |
|
| phnxdeco | 0.33-3 | phnxdeco.c:37:5: error: first parameter of 'main' (argument count) must be of type 'int'
| Log |
748630
|
| psicode | 3.4.0-6 | transqt.cc:68:1: error: C++ requires a type specifier for all declarations
| Log |
|
| re | 0.1-6.1 | src/re_cmd.c:12:1: error: C++ requires a type specifier for all declarations
| Log |
748420
|
| rxtx | 2.2pre2+dfsg1-1 | conftest.c:4:5: error: second parameter of 'main' (argument array) must be of type 'char **'
| Log |
|
| taopm | 1.0-3.1 | taoparser.yy:2950:1: error: C++ requires a type specifier for all declarations
| Log |
755174
|
13 errors