1
0
Эх сурвалжийг харах

COMP: Make sure gcc 2.96 sstream header is not used.

Brad King 18 жил өмнө
parent
commit
1ef33c6c04

+ 3 - 0
Source/kwsys/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;