summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-06-04 13:00:36 (GMT)
committerBrad King <brad.king@kitware.com>2003-06-04 13:00:36 (GMT)
commit9ccc27864e57d92e175dad630f6abe8c7ba181ad (patch)
tree22215c594063be9512ac10bfbaa253e9da74da2d /bootstrap
parent904fb91a42ca6f0de23dd0c588e6907352b798b7 (diff)
downloadCMake-9ccc27864e57d92e175dad630f6abe8c7ba181ad.zip
CMake-9ccc27864e57d92e175dad630f6abe8c7ba181ad.tar.gz
CMake-9ccc27864e57d92e175dad630f6abe8c7ba181ad.tar.bz2
ERR: Cannot use iostream.h for strict C++ compiler sanity check. Using a small class instead.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap5
1 files changed, 3 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index caa19ec..993c776 100755
--- a/bootstrap
+++ b/bootstrap
@@ -267,10 +267,11 @@ fi
# Check if C++ compiler works
TMPFILE=`cmake_tmp_file`
cat>"${TMPFILE}.cxx"<<EOF
-#include<iostream.h>
+#include <stdio.h>
+class NeedCXX {};
int main()
{
- cout << 1 << endl;
+ printf("1\n");
return 0;
}
EOF