Closed
Description
Description
I am getting build errors if cellular traces are enabled. The error points to this line. Wouldn't it be better to use new/delete instead of malloc free as we are in .cpp?
Building project latestmbed (UBLOX_C027, ARMC5)
Scan: latestmbed
Compile [100.0%]: ATHandler.cpp
[Error] ATHandler.cpp@1292,0: #20: identifier "malloc" is undefined
[Error] ATHandler.cpp@1322,0: #20: identifier "free" is undefined
[ERROR] ".\mbed-os\features\cellular\framework\AT\ATHandler.cpp", line 1292: Error: #20: identifier "malloc" is undefined
".\mbed-os\features\cellular\framework\AT\ATHandler.cpp", line 1322: Error: #20: identifier "free" is undefined
.\mbed-os\features\cellular\framework\AT\ATHandler.cpp: 0 warnings, 2 errors
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug
Metadata
Metadata
Assignees
Labels
No labels