This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Operator new in VxWorks cross compiler
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Operator new in VxWorks cross compiler
- From: Kevin dot Hughes at icl dot com
- Date: Tue, 7 Sep 1999 13:43:15 +0100
I recently built a gcc2.95.1 cross compiler under the cygwin environment for
an x86 vxworks system. All appeared to go well (eventually - I only compile
the gcc portion) and the compiler appears to work but the c++ part object to
all overloads of new. I get the following error...
`operator new' takes type `size_t' as first parameter
but the definition of the offending function is
void* operator new( size_t, void* p ) { return p; }
The code compiles clean using the cygwin native gcc2.95 compiler produced by
Mumit Khan. Any sugestions as to how to proceed would be much appreciated.
Kevin