[uClinux-dev] C++ compilation error

Kendrick Hamilton hamilton at sedsystems.ca
Fri Mar 14 14:42:05 EST 2003


Can you show use the code it is complaining about. (also make sure you use
m68k-elf-g++).

On Fri, 14 Mar 2003, Kim Klaiman wrote:

> I'm trying to compile C++ applications for MC68360 target using m68k-elf-gcc
> (or m68k-elf-g++) compiler.
> I'm getting the following errors:
>
> /usrnew/kim/68360/new_h/new:32: `operator new' takes type `size_t' as first
> parameter
> /usrnew/kim/68360/new_h/new:33: `operator new' takes type `size_t' as first
> parameter
> /usrnew/kim/68360/new_h/new:36: `operator new' takes type `size_t' as first
> parameter
> /usrnew/kim/68360/new_h/new:37: `operator new' takes type `size_t' as first
> parameter
> /usrnew/kim/68360/new_h/new:42: `operator new' takes type `size_t' as first
> parameter
> /usrnew/kim/68360/new_h/new:43: `operator new' takes type `size_t' as first
> parameter
>
> Any ideas?
>
> Kim Klaiman
> Senior Software Engineer
> Unique Broadband Systems
>
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
>




More information about the uClinux-dev mailing list