diff options
author | Brad King <brad.king@kitware.com> | 2003-06-04 13:00:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-06-04 13:00:36 (GMT) |
commit | 9ccc27864e57d92e175dad630f6abe8c7ba181ad (patch) | |
tree | 22215c594063be9512ac10bfbaa253e9da74da2d /bootstrap | |
parent | 904fb91a42ca6f0de23dd0c588e6907352b798b7 (diff) | |
download | CMake-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-x | bootstrap | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |