From 9bef18b0cfebe0630cf0643794d9f8e3c81ebd50 Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Fri, 20 Apr 2007 11:53:35 -0400
Subject: [PATCH] COMP: Make sure gcc 2.96 sstream header is not used.

---
 kwsysPlatformTestsCXX.cxx | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kwsysPlatformTestsCXX.cxx b/kwsysPlatformTestsCXX.cxx
index ccc46fe..93d7d22 100644
--- a/kwsysPlatformTestsCXX.cxx
+++ b/kwsysPlatformTestsCXX.cxx
@@ -46,6 +46,9 @@ int main() { return 0; }
 
 #ifdef TEST_KWSYS_IOS_USE_SSTREAM
 #include <sstream>
+#if defined(__GNUC__) && __GNUC__ == 2 && __GNUC_MINOR__ == 96
+# error "GCC 2.96 stringstream is buggy"
+#endif
 int main()
 { 
   std::ostringstream ostr;
-- 
GitLab