diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-01-01 09:29:28 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-01-01 22:09:18 +0200 |
commit | 8a8c1fc82f5b1f7e5f7d82970e39d6064f2fd0b4 (patch) | |
tree | cc28a731930175ac9296c7231f41e92bd09535ab /py/mpconfig.h | |
parent | ebde3c694f301a99addf02c3b8ff3834f04663af (diff) | |
download | micropython-8a8c1fc82f5b1f7e5f7d82970e39d6064f2fd0b4.tar.gz micropython-8a8c1fc82f5b1f7e5f7d82970e39d6064f2fd0b4.zip |
py: Add basic framework for issuing compile/runtime warnings.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index b193051c51..bbc791c0b7 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -251,6 +251,11 @@ typedef long long mp_longint_impl_t; #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) |