[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-current
Subject:    Re: new.h is missing
From:       Bradley T Hughes <bhughes () trolltech ! com>
Date:       2003-07-29 9:58:42
[Download RAW message or body]

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

_______________________________________________
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"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic