[pooma-dev] [PATCH] Fix Utilities/Inform.h for icc
James Crotinger
jcrotinger at proximation.com
Tue Jan 7 14:14:39 UTC 2003
This looks like a case where the logic should probably be reversed, checking
for the compilers that don't know about std::ios_base::fmtflags.
Jim
-----Original Message-----
From: Richard Guenther [mailto:rguenth at tat.physik.uni-tuebingen.de]
Sent: Tuesday, January 07, 2003 3:20 AM
To: Jeffrey D. Oldham
Cc: pooma-dev at pooma.codesourcery.com
Subject: [pooma-dev] [PATCH] Fix Utilities/Inform.h for icc
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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/pooma-dev/attachments/20030107/5ca9b8d5/attachment.html>
More information about the pooma-dev
mailing list