aboutsummaryrefslogtreecommitdiff
path: root/unix/mpconfigport.h
diff options
context:
space:
mode:
authorPaul Sokolovsky2015-01-01 09:29:28 +0200
committerPaul Sokolovsky2015-01-01 22:09:18 +0200
commit8a8c1fc82f5b1f7e5f7d82970e39d6064f2fd0b4 (patch)
treecc28a731930175ac9296c7231f41e92bd09535ab /unix/mpconfigport.h
parentebde3c694f301a99addf02c3b8ff3834f04663af (diff)
py: Add basic framework for issuing compile/runtime warnings.
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r--unix/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index a895aeab0..fc2a18278 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -74,6 +74,7 @@
// Define to MICROPY_ERROR_REPORTING_DETAILED to get function, etc.
// names in exception messages (may require more RAM).
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_DETAILED)
+#define MICROPY_WARNINGS (1)
// Define to 1 to use undertested inefficient GC helper implementation
// (if more efficient arch-specific one is not available).