freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix Utilities/Inform.h for icc


From: Richard Guenther
Subject: [PATCH] Fix Utilities/Inform.h for icc
Date: Tue, 7 Jan 2003 11:20:27 +0100 (CET)

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;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]