Subject: Re: gcc 3 <-> 2.95, STL & NetBSD
To: =?iso-8859-1?Q?Thorbj=F6rn?= Jemander <thorman@jemander.net>
From: Timothy A. Musson <timothy.musson@zin-tech.com>
List: netbsd-help
Date: 07/07/2003 16:43:10
At 04:11 PM 7/7/03 , Thorbj=F6rn Jemander wrote:
>Hi,
>
>I have some C++ code I'd like to run under
>NetBSD. I've 1.6.1 and gcc 2.95.3.
>

>2. If I try to compile with gcc 3.2.1 (built from pkgsrc),
>STL gives me an headache. Previously the STL
>headers resided in /usr/pkg/include/stlport,
>but with the same makefiles, headers and
>switches, gcc-3.2.1 won't find some STL headers.
>Can anyone give me a hint on what's going on here?
>
>I'd be most grateful for some directions or
>ponters. Thanks in advance,
>
>/Thorbj=F6rn Jemander
>
>(BTW, please CC this address)
>=20

When you say it won't find some headers, I assume you're using the
<iostream> and "using namespace std" form, and not <iostream.h> and/or not
using a namespace?

-Tim