From 1ef33c6c04982310b14d9f6e273fe5a08423b4e6 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 20 Apr 2007 11:53:35 -0400 Subject: COMP: Make sure gcc 2.96 sstream header is not used. --- Source/kwsys/kwsysPlatformTestsCXX.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/kwsys/kwsysPlatformTestsCXX.cxx b/Source/kwsys/kwsysPlatformTestsCXX.cxx index ccc46fe..93d7d22 100644 --- a/Source/kwsys/kwsysPlatformTestsCXX.cxx +++ b/Source/kwsys/kwsysPlatformTestsCXX.cxx @@ -46,6 +46,9 @@ int main() { return 0; } #ifdef TEST_KWSYS_IOS_USE_SSTREAM #include +#if defined(__GNUC__) && __GNUC__ == 2 && __GNUC_MINOR__ == 96 +# error "GCC 2.96 stringstream is buggy" +#endif int main() { std::ostringstream ostr; -- cgit v0.12