summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-07-20 04:14:31 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-07-20 21:15:23 +0200
commitca89d02ca1639b72c7b74834ff432ab10df58fe9 (patch)
treefcda9db3e5e942e00f28de475672b1acf3852850 /README.rst
parentccb18af3419b72ef4ddc5f311abebebd858a36ce (diff)
Add KCONFIG_STRICT flag for flagging refs. to undefined syms
Settings KCONFIG_STRICT to y in the environment turns on warnings for all references to undefined symbols within Kconfig files (with the only gotcha that hex literals must be prefixed by 0x or 0X, to make it possible to distinguish them from undefined references). Always flagging undefined references gets awkward, as some projects (e.g. the Linux kernel) use multiple Kconfig trees with shared files, leading to some safe undefined references. It's helpful for other projects though. Having KCONFIG_STRICT as an environment variable is handy when multiple tools are involved. Piggyback a small README change re. warnings. Kconfiglib now has many more warnings than the C tools.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst10
1 files changed, 3 insertions, 7 deletions
diff --git a/README.rst b/README.rst
index eb9c77a..2af9e9f 100644
--- a/README.rst
+++ b/README.rst
@@ -272,14 +272,10 @@ Other features
`multiprocessing <https://docs.python.org/3/library/multiprocessing.html>`_
module. No global state is kept.
-- **Warning parity with the C implementation**
+- **Generates more warnings than the C implementation**
- Generates the same warnings as the C implementation, plus a few extra ones.
- Also detects dependency loops and ``source`` loops.
-
- This is less important if the input is assumed to be well-formed, but makes
- Kconfiglib a viable replacement for the C tools if e.g. a ``menuconfig``
- interface is added.
+ Generates the same warnings as the C implementation, plus additional ones.
+ Also detects dependency and ``source`` loops.
All warnings point out the location(s) in the ``Kconfig`` files where a
symbol is defined, where applicable.