Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2002 10:14:27 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        culverk@yumyumyum.org
Cc:        Benjamin.Close@unisa.edu.au, freebsd-current@FreeBSD.ORG
Subject:   Re: Status of C++ in base system?
Message-ID:  <20020711.101427.116352789.imp@bsdimp.com>
In-Reply-To: <20020711104234.U57635-100000@alpha.yumyumyum.org>
References:  <20020710.215728.14877807.imp@bsdimp.com> <20020711104234.U57635-100000@alpha.yumyumyum.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20020711104234.U57635-100000@alpha.yumyumyum.org>
            Kenneth Culver <culverk@yumyumyum.org> writes:
: I don't think kde3 compiles on the latest -CURRENT though, I've been
: trying to compile that for several days, and every time the linker says
: that things like cout and other standard c++ things aren't found.

The cerr not found thing is one of two problems.  gcc3 is pickier
about namespace issues than gcc2, so you need to say std::cerr or
using namespace std;.  However, the more common case is people
thinking they can link c++ programs with 'cc' rather than 'c++'

My C++ programs are large enough that there are issues, but nothing
this trivial.  Usually it is bad C++ that the newer compiler is
pickier about accepting.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020711.101427.116352789.imp>