This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: #include <new> in mqueue.cxx
- From: Gary Thomas <gary at chez-thomas dot org>
- To: "Jones, Michael" <Michael dot Jones at distefora-protec dot de>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 14 Jul 2002 18:29:55 -0600
- Subject: Re: [ECOS] #include <new> in mqueue.cxx
- References: <C8B3DE2A53035248921C3DE1111FA503059056@TITAN.protec.distefora.lan>
On Sun, 2002-07-14 at 12:28, Jones, Michael wrote:
> Hello!
>
> I am finding the following error:
>
> i386-elf-gcc -c <omitted> /ecos-c/cygwin/i386/ecos/packages/compat/posix/current/src/mqueue.cxx
>
> /ecos-c/cygwin/i386/ecos/packages/compat/posix/current/src/mqueue.cxx:82:79: new: No such file or directory
> <internal>: In function `void* mq_open(const char*, int, ...)':
> <internal>:302: too many arguments to function `void* operator new(long unsigned int)'
> /ecos-c/cygwin/i386/ecos/packages/compat/posix/current/src/mqueue.cxx:302: at this point in file
> make[1]: *** [src/mqueue.o.d] Error 1
> make[1]: Leaving directory `/i386/net/compat/posix/current'
> make: *** [build] Error 2
>
> It seems that there is no <new> header in the eCos repository therefore IMHO the above error is correct and including the new header in the first place is to be reconsidered....
>
> Any comments?
The file <new.h> comes from the compiler itself - it's not provided
with eCos (but we still need to use it)
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss