From 3102492073567312539
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,35e22e2865a772f5
X-Google-Attributes: gidf78e5,public
X-Google-Thread: 109fba,ceb62a8984ceb273
X-Google-Attributes: gid109fba,public
From: AllanW@my-dejanews.com
Subject: Re: Anybody successfully compiled SGI STL 3.11 with VC5?
Date: 1998/10/13
Message-ID: <700b8s$dhe$1@nnrp1.dejanews.com>#1/1
X-Deja-AN: 400744373
X-NNTP-Posting-Host: 199.125.171.8
Approved: stephen.clamage@sun.com (comp.std.c++)
References: <6vgvk1$bmk$1@news.kren.nm.kr>
X-Snookums: I love you
X-UID: 0000000001
X-Status: $$$T
X-Http-User-Agent: Mozilla/4.06 [en] (Win95; U)
X-Http-Proxy: 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client 199.125.171.8
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Tue Oct 13 19:56:12 1998 GMT
Newsgroups: comp.lang.c++,comp.std.c++
Originator: clamage@taumet


In article <6vgvk1$bmk$1@news.kren.nm.kr>,
  "Lee, Jin Woo" <jwlee@mmrnd.sec.samsung.co.kr> wrote:
> I'm trying to use SGI STL 3.11 with VC++ 5.0 instead of STL bundled with it.
> But I get too many error messages when compiling the project.
> If anybody successfully compiled them, please let me know how.

The problem is that Microsoft's <iostreams> and/or <strings> conflicts
with various things in SGI's STL. The only way I've found to deal with
this so far is to isolate all the routines that use STL from those
that use any other library.

This gets awkwards at times. Every "mainstream" function that needs
to do anything STL-ish needs to call an out-of-line function to do
it. And things like ostream_iterator<T> are right out.

I'm certain that SGI didn't intend for this. Can anyone from SGI
shed some light on this? Is there a simple workaround?

--
AllanW@my-dejanews.com is a "Spam Magnet" -- never read.
Please reply in USENET only, sorry.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]




