summaryrefslogtreecommitdiffstats
path: root/Source/CMakeBuildTargets.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/CMakeBuildTargets.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/CMakeBuildTargets.cxx')
-rw-r--r--Source/CMakeBuildTargets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMakeBuildTargets.cxx b/Source/CMakeBuildTargets.cxx
index c87ecb7..15cd064 100644
--- a/Source/CMakeBuildTargets.cxx
+++ b/Source/CMakeBuildTargets.cxx
@@ -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)
{