1
0
mirror of https://github.com/armink/CmBacktrace.git synced 2025-01-25 00:22:53 +08:00

1、【移动】C99 检查至 cm_backtrace.c 。

Signed-off-by: armink <armink.ztl@gmail.com>
This commit is contained in:
armink 2017-10-12 20:45:45 +08:00
parent a162e335ac
commit 4f946db872
2 changed files with 4 additions and 4 deletions

View File

@ -31,6 +31,10 @@
#include <string.h>
#include <stdio.h>
#if __STDC_VERSION__ < 199901L
#error "must be C99 or higher. try to add '-std=c99' to compile parameters"
#endif
#if defined(__CC_ARM)
#define SECTION_START(_name_) _name_##$$Base
#define SECTION_END(_name_) _name_##$$Limit

View File

@ -289,10 +289,6 @@ if (!(EXPR)) \
#error "CMB_CPU_PLATFORM_TYPE isn't defined in 'cmb_cfg.h'"
#endif
#if __STDC_VERSION__ < 199901L
#error "not supported compiler, must be C99 or higher. try to add '-std=c99' to compile parameters"
#endif
#if (defined(CMB_USING_BARE_METAL_PLATFORM) && defined(CMB_USING_OS_PLATFORM))
#error "CMB_USING_BARE_METAL_PLATFORM and CMB_USING_OS_PLATFORM only one of them can be used"
#elif defined(CMB_USING_OS_PLATFORM)