diff --git a/kwsysPlatformTestsCXX.cxx b/kwsysPlatformTestsCXX.cxx index ccc46fe9a14ad5e3769de1343acd1d4addf53701..93d7d22dd30a50f26128911dcce38006dcd9ed8a 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;