summaryrefslogtreecommitdiffstats
path: root/Source/CMakeSetupCMD.cxx
diff options
context:
space:
mode:
authorDan Blezek <blezek@crd.ge.com>2001-01-05 18:53:01 (GMT)
committerDan Blezek <blezek@crd.ge.com>2001-01-05 18:53:01 (GMT)
commitd786780ccba33580128b9db853fe114fdc818df9 (patch)
tree2f5e8e7f660d6110139c43dbfad819262458d486 /Source/CMakeSetupCMD.cxx
parent8b46d1e0953e5b9bfcb82422abaf585c2247d4a9 (diff)
downloadCMake-d786780ccba33580128b9db853fe114fdc818df9.zip
CMake-d786780ccba33580128b9db853fe114fdc818df9.tar.gz
CMake-d786780ccba33580128b9db853fe114fdc818df9.tar.bz2
BUG: main can not be void under ANSI C++
Diffstat (limited to 'Source/CMakeSetupCMD.cxx')
-rw-r--r--Source/CMakeSetupCMD.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMakeSetupCMD.cxx b/Source/CMakeSetupCMD.cxx
index 8fecfad..fabae5a 100644
--- a/Source/CMakeSetupCMD.cxx
+++ b/Source/CMakeSetupCMD.cxx
@@ -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)
{