This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
#include <new> in mqueue.cxx
- From: "Jones, Michael" <Michael dot Jones at distefora-protec dot de>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Sun, 14 Jul 2002 20:28:18 +0200
- Subject: [ECOS] #include <new> in mqueue.cxx
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?
Michael Jones
Head of Development
DISTEFORA PROTEC GmbH
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss