BUG: main can not be void under ANSI C++

This commit is contained in:
Dan Blezek 2001-01-05 13:53:01 -05:00
parent 8b46d1e095
commit d786780ccb
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
// This is the main program used to gentrate makefile fragments
// from CMakeLists.txt input files.
main(int ac, char** av)
int main(int ac, char** av)
{
if(ac < 2)
{

View File

@ -39,7 +39,7 @@ void SetArgs(cmMakefile& builder, int ac, char** av)
}
main(int ac, char** av)
int main(int ac, char** av)
{
if(ac < 3)
{