Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 9 months ago.
Hello all,On the MDK compiler overloading new operator error problem!
I use the chip model is MK64FX512LL2 Added third party dynamic memory management, I want to reload the new keyword, but it has been a mistake
The wrong content is: * Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'ksdk_platform_lib Debug' compiling CppHeap.cpp... ..\..\..\..\app\CppHeap.cpp(8): error: #65: expected a ";" void *operator new(std::size_t size) ..\..\..\..\app\CppHeap.cpp(30): warning: At end of source: #12-D: parsing restarts here after previous syntax error ..\..\..\..\app\CppHeap.cpp: 1 warning, 1 error "debug\libksdk_platform.lib" - 1 Error(s), 1 Warning(s). Target not created. Build Time Elapsed: 00:00:00
After repeated confirmation, did not find grammatical errors
Thanks!!!