Because the compiler is not perfect, and Some C++ library is not included, so C++ support is not very good.
For the function of new and delete, you can try it in this way:
inline void* operator new ( size_t s ) { return malloc( s ); }
inline void* operator new[] ( size_t s ) { return malloc( s...