This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: #include <new> in mqueue.cxx


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]