I am working on porting an old application to CW tools. I faced some issues. To get more ideas on it,
I created a CW stationary C++ project for 5235EVB. In the already existing main.cpp, I included list.h. On compilation of this main.cpp, I got lots of errors. One typical error looked like:
Error : illegal overloading 'operator new(unsigned long)'
was declared as 'extern "C" void * (unsigned long)'
now declared as 'void * (unsigned long)throw(std::bad_alloc) '
(included from :
new line 118 ME void* operator new(_CSTD::size_t size) throw(_STD::bad_alloc);
Can anyone tell me how do I resolve this?