From owner-freebsd-current@FreeBSD.ORG Tue Jul 29 03:02:27 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29F0737B401 for ; Tue, 29 Jul 2003 03:02:27 -0700 (PDT) Received: from lupinella.troll.no (lupinella.troll.no [80.232.37.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 209D243F75 for ; Tue, 29 Jul 2003 03:02:26 -0700 (PDT) (envelope-from bhughes@trolltech.com) Received: from reticent.troll.no ([80.232.37.28]:22020 "EHLO reticent.troll.no" ident: "NO-IDENT-SERVICE[2]") by trolltech.com with ESMTP id ; Tue, 29 Jul 2003 12:02:14 +0200 From: Bradley T Hughes Organization: Trolltech AS To: freebsd-current@freebsd.org Date: Tue, 29 Jul 2003 11:58:42 +0200 User-Agent: KMail/1.5.2 References: <001801c355b7$6588b4e0$0100a8c0@alpha> In-Reply-To: <001801c355b7$6588b4e0$0100a8c0@alpha> Sender: bhughes@trolltech.com MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307291158.42764.bhughes@trolltech.com> Subject: Re: new.h is missing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2003 10:02:27 -0000 On Tuesday 29 July 2003 11:54, Kai Mosebach wrote: > Hi, > > I am running FreeBSD 5.1-CURRENT (22.07.03) > > im trying to port a software, and on compile time i get > > Tools_List.hpp:51:17: new.h: No such file or directory > > Leading to lots of errors afterwards i.e. : > > void* operator new(unsigned int, SAPDBMem_IRawAllocator&) > > RTEMem_Allocator.cpp:124: no matching function for call to `operator > new(unsigned int, SAPDBMem_IRawAllocator::AlignType[1])' > > Any ideas ? new.h is an obsolete header file (which was removed in gcc 3.3)... use #include instead to get placement new with C++ > Thanx Kai > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" -- Bradley T. Hughes - bhughes at trolltech.com Trolltech AS - Waldemar Thranes gt. 98 N-0175 Oslo, Norway