diff options
author | Brad King <brad.king@kitware.com> | 2007-04-20 15:53:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-04-20 15:53:35 (GMT) |
commit | 1ef33c6c04982310b14d9f6e273fe5a08423b4e6 (patch) | |
tree | 3f4b24e2ffef6202965dedc96967f5d945f53b25 /Source/kwsys/kwsysPlatformTestsCXX.cxx | |
parent | 60d0d429b83d5fe30636d5a0a55f4c99a50c1946 (diff) | |
download | CMake-1ef33c6c04982310b14d9f6e273fe5a08423b4e6.zip CMake-1ef33c6c04982310b14d9f6e273fe5a08423b4e6.tar.gz CMake-1ef33c6c04982310b14d9f6e273fe5a08423b4e6.tar.bz2 |
COMP: Make sure gcc 2.96 sstream header is not used.
Diffstat (limited to 'Source/kwsys/kwsysPlatformTestsCXX.cxx')
-rw-r--r-- | Source/kwsys/kwsysPlatformTestsCXX.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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 <sstream> +#if defined(__GNUC__) && __GNUC__ == 2 && __GNUC_MINOR__ == 96 +# error "GCC 2.96 stringstream is buggy" +#endif int main() { std::ostringstream ostr; |