From 9ccc27864e57d92e175dad630f6abe8c7ba181ad Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 4 Jun 2003 09:00:36 -0400 Subject: [PATCH] ERR: Cannot use iostream.h for strict C++ compiler sanity check. Using a small class instead. --- bootstrap | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index caa19ec9a..993c77673 100755 --- a/bootstrap +++ b/bootstrap @@ -267,10 +267,11 @@ fi # Check if C++ compiler works TMPFILE=`cmake_tmp_file` cat>"${TMPFILE}.cxx"< +#include +class NeedCXX {}; int main() { - cout << 1 << endl; + printf("1\n"); return 0; } EOF