From owner-freebsd-current Wed Jun 19 11:35:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from overcee.wemm.org (12-232-114-102.client.attbi.com [12.232.114.102]) by hub.freebsd.org (Postfix) with ESMTP id C607737B416 for ; Wed, 19 Jun 2002 11:35:15 -0700 (PDT) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 54ADB380E; Wed, 19 Jun 2002 11:35:17 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Mikhail Teterin Cc: "M. Warner Losh" , mi+celsius@aldan.algebra.com, jstocker@tzi.de, current@FreeBSD.ORG Subject: Re: C++ troubles continue In-Reply-To: <200206191257.03898.mi+mx@aldan.algebra.com> Content-Transfer-Encoding: 8bit Date: Wed, 19 Jun 2002 11:35:17 -0700 From: Peter Wemm Message-Id: <20020619183517.54ADB380E@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mikhail Teterin wrote: > On Wednesday 19 June 2002 12:23 pm, M. Warner Losh wrote: > = In message: <200206190713.44776.mi+celsius@aldan.algebra.com> > = Mikhail Teterin writes: > = : В╕второбк 18 Червень 2002 11:38 pm, Jan Stocker Вби написалби: > = : > Do you have cleaned your /usr/include/g++ directory from old gcc files? > = : > = : Not until after I sent my e-mail :-) Wouldn't this be worth mentioning in > = : UPDATING? BTW, even that seems a not enough. When building koffice-kde3, > = : fabs() is reported unknown, because math.h is only included ifdef WINDOWS > = : in KDChartTable.h and I had to manually replace std::floor with floor in > = : KDChartPainter.cpp > = > = If someone wants to write me a blurb, I'll stick it in UPDATING. > > But what is the right method? Removing everything from /usr/include/g++, > that's not present in /usr/src/contrib/libstdc++/include somewhere? I often do this: make buildworld mv /usr/include /usr/include.old make installworld That's a guaranteed way to end up with a clean /usr/include :-) I do similar things with /usr/lib as well, except mv /usr/lib/* /usr/lib/ compat and then strip out the .a files afterwards. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message