commit | 8a8c1fc82f5b1f7e5f7d82970e39d6064f2fd0b4 | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Thu Jan 01 09:29:28 2015 +0200 |
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Thu Jan 01 22:09:18 2015 +0200 |
tree | cc28a731930175ac9296c7231f41e92bd09535ab | |
parent | ebde3c694f301a99addf02c3b8ff3834f04663af [diff] [blame] |
py: Add basic framework for issuing compile/runtime warnings.
diff --git a/py/mpconfig.h b/py/mpconfig.h index b193051..bbc791c 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h
@@ -251,6 +251,11 @@ #define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NORMAL) #endif +// Whether issue warnings during compiling/execution +#ifndef MICROPY_WARNINGS +#define MICROPY_WARNINGS (0) +#endif + // Float and complex implementation #define MICROPY_FLOAT_IMPL_NONE (0) #define MICROPY_FLOAT_IMPL_FLOAT (1)