Commit d786780c authored by Dan Blezek's avatar Dan Blezek
Browse files

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

parent 8b46d1e0
......@@ -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)
{
......
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment