Merge pull request #6762 from OpenNuvoton/nuvoton_fix_armc6_memtrace

Fix compile error with MBED_MEM_TRACING_ENABLED and ARMC6
pull/6667/merge
Martin Kojtal 2018-05-03 16:27:54 +01:00 committed by GitHub
commit b47a3057b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1339,7 +1339,7 @@ extern "C" void __cxa_guard_abort(int *guard_object_p)
#endif
#if defined(MBED_MEM_TRACING_ENABLED) && (defined(__CC_ARM) || defined(__ICCARM__))
#if defined(MBED_MEM_TRACING_ENABLED) && (defined(__CC_ARM) || defined(__ICCARM__) || (defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)))
// If the memory tracing is enabled, the wrappers in mbed_alloc_wrappers.cpp
// provide the implementation for these. Note: this needs to use the wrappers