Re: new.h is missing

From: Bradley T Hughes <bhughes_at_trolltech.com>
Date: Tue, 29 Jul 2003 11:58:42 +0200
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe_at_freebsd.org"

-- 
Bradley T. Hughes - bhughes at trolltech.com
Trolltech AS - Waldemar Thranes gt. 98 N-0175 Oslo, Norway
Received on Tue Jul 29 2003 - 01:02:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC