mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 15:15:15 +08:00
fix(components): Fix all components's compile warning and enable warning checking
This commit is contained in:
@ -66,9 +66,3 @@ endif
|
||||
|
||||
# global CFLAGS for ESP8266
|
||||
CFLAGS += -DMEMLEAK_DEBUG -DICACHE_FLASH
|
||||
|
||||
# void compiler error, we should remove these later
|
||||
CFLAGS += -Wno-error=char-subscripts -Wno-error=unknown-pragmas -Wno-error=implicit-function-declaration \
|
||||
-Wno-error=pointer-sign -Wno-error=switch -Wno-error=maybe-uninitialized -Wno-error=format= \
|
||||
-Wno-error=unused-value -Wno-error=address -Wno-error=return-type -Wno-error=format-extra-args \
|
||||
-Wno-error=format-zero-length -Wno-error=unused-label -Wno-error=sizeof-pointer-memaccess
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "esp8266/pin_mux_register.h"
|
||||
#include "esp8266/uart_register.h"
|
||||
|
Reference in New Issue
Block a user