Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2003 11:58:42 +0200
From:      Bradley T Hughes <bhughes@trolltech.com>
To:        freebsd-current@freebsd.org
Subject:   Re: new.h is missing
Message-ID:  <200307291158.42764.bhughes@trolltech.com>
In-Reply-To: <001801c355b7$6588b4e0$0100a8c0@alpha>
References:  <001801c355b7$6588b4e0$0100a8c0@alpha>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <new> 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



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