mirror of
https://github.com/espressif/openthread.git
synced 2026-09-13 12:40:05 +00:00
turn on warnings and errors (#280)
This commit is contained in:
committed by
Jonathan Hui
parent
3b4bf8594e
commit
318fe4b415
@@ -36,5 +36,8 @@
|
||||
|
||||
void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...)
|
||||
{
|
||||
(void)aLogLevel;
|
||||
(void)aLogRegion;
|
||||
(void)aFormat;
|
||||
}
|
||||
|
||||
|
||||
@@ -41,6 +41,9 @@ void PlatformInit(int argc, char *argv[])
|
||||
cc2538RadioInit();
|
||||
cc2538RandomInit();
|
||||
otPlatUartEnable();
|
||||
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
}
|
||||
|
||||
void PlatformProcessDrivers(void)
|
||||
|
||||
@@ -47,7 +47,7 @@ extern uint8_t _einit_array;
|
||||
__extension__ typedef int __guard __attribute__((mode(__DI__)));
|
||||
int __cxa_guard_acquire(__guard *g) { return !*(char *)(g); }
|
||||
void __cxa_guard_release(__guard *g) { *(char *)g = 1; }
|
||||
void __cxa_guard_abort(__guard *g) {}
|
||||
void __cxa_guard_abort(__guard *g) { (void)g; }
|
||||
void __cxa_pure_virtual(void) { while (1); }
|
||||
|
||||
void IntDefaultHandler(void);
|
||||
|
||||
Reference in New Issue
Block a user