[complement-svn] SF.net SVN: complement:[1954] trunk/complement/explore/lib/mt/uid.cc
Status: Pre-Alpha
Brought to you by:
complement
From: <com...@us...> - 2008-08-04 12:52:41
|
Revision: 1954 http://complement.svn.sourceforge.net/complement/?rev=1954&view=rev Author: complement Date: 2008-08-04 12:52:35 +0000 (Mon, 04 Aug 2008) Log Message: ----------- compile with libstdc++ Modified Paths: -------------- trunk/complement/explore/lib/mt/uid.cc Modified: trunk/complement/explore/lib/mt/uid.cc =================================================================== --- trunk/complement/explore/lib/mt/uid.cc 2008-07-30 17:27:06 UTC (rev 1953) +++ trunk/complement/explore/lib/mt/uid.cc 2008-08-04 12:52:35 UTC (rev 1954) @@ -1,4 +1,4 @@ -// -*- C++ -*- Time-stamp: <08/07/30 19:12:12 ptr> +// -*- C++ -*- Time-stamp: <08/08/04 16:32:11 yeti> /* * Copyright (c) 2006, 2008 @@ -24,7 +24,11 @@ std::ostream& operator <<( std::ostream& s, const xmt::uuid_type& uid ) { +#ifdef STLPORT std::ios_base::fmtflags f = s.flags( 0 ); +#else // i.e. libstdc++ + std::ios_base::fmtflags f = s.flags( static_cast<std::ios_base::fmtflags>(0) ); +#endif s << hex << setfill('0') << setw(2) << static_cast<unsigned>(uid.u.b[0]) << setw(2) << static_cast<unsigned>(uid.u.b[1]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |