BUG: main can not be void under ANSI C++
This commit is contained in:
parent
8b46d1e095
commit
d786780ccb
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
// This is the main program used to gentrate makefile fragments
|
// This is the main program used to gentrate makefile fragments
|
||||||
// from CMakeLists.txt input files.
|
// from CMakeLists.txt input files.
|
||||||
main(int ac, char** av)
|
int main(int ac, char** av)
|
||||||
{
|
{
|
||||||
if(ac < 2)
|
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)
|
if(ac < 3)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue