From 40214b9e26408ceb0e4eb92a57f59302b38fa6f9 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 22 Jul 2016 00:57:55 +0300 Subject: [PATCH] esp8266: Enable MICROPY_PY_STR_BYTES_CMP_WARN. --- esp8266/mpconfigport.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h index 90dbc00098..dd7092fe54 100644 --- a/esp8266/mpconfigport.h +++ b/esp8266/mpconfigport.h @@ -72,6 +72,8 @@ #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT) #define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NORMAL) +#define MICROPY_WARNINGS (1) +#define MICROPY_PY_STR_BYTES_CMP_WARN (1) #define MICROPY_STREAMS_NON_BLOCK (1) #define MICROPY_MODULE_FROZEN_STR (1) #define MICROPY_MODULE_FROZEN_MPY (1)