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

This commit is contained in:
Brad King 2007-04-20 11:53:35 -04:00
parent 60d0d429b8
commit 1ef33c6c04
1 changed files with 3 additions and 0 deletions

View File

@ -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;