[PATCH] Fix Utilities/Inform.h for icc

Richard Guenther rguenth at tat.physik.uni-tuebingen.de
Tue Jan 7 10:20:27 UTC 2003


Hi!

The following patch is necessary to build pooma with icc (apart from
the LINUXICC.conf file which I added yesterday already). Together with
this patch all tests pass as expected. Ok to commit?

Richard.

diff --minimal -Nru a/r2/src/Utilities/Inform.h
b/r2/src/Utilities/Inform.h
--- a/r2/src/Utilities/Inform.h	Wed Jul 24 10:53:59 2002
+++ b/r2/src/Utilities/Inform.h	Wed Jul 24 10:53:59 2002
@@ -278,7 +278,8 @@
   void output() { flush(); }

 #if (defined(__MWERKS__) && __MWERKS__ >= 0x2301) \
- || (defined(__GLIBCPP__) && __GLIBCPP__ >= 20001129)
+ || (defined(__GLIBCPP__) && __GLIBCPP__ >= 20001129) \
+ || (defined(__ICC))
   typedef std::ios_base::fmtflags FmtFlags_t;
 #else
   typedef long FmtFlags_t;




More information about the pooma-dev mailing list