summary refs log tree commit diff stats
path: root/web
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-02-17 18:03:56 +0100
committerAraq <rumpf_a@web.de>2017-02-17 18:03:56 +0100
commit8f426b974a38d141205cac182d1883e1ecf8c9ce (patch)
tree0ab2d29435251472a0fdcf26e8580ff104f0c84f /web
parentdd8cbf5fca7becf43b5cec07ecf7e579308e2e7a (diff)
downloadNim-8f426b974a38d141205cac182d1883e1ecf8c9ce.tar.gz
new feature: .used pragma to suppress declared-but-not-used warning
Diffstat (limited to 'web')
-rw-r--r--web/news/e031_version_0_16_2.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/news/e031_version_0_16_2.rst b/web/news/e031_version_0_16_2.rst
index 171e4cef1..785285eaf 100644
--- a/web/news/e031_version_0_16_2.rst
+++ b/web/news/e031_version_0_16_2.rst
@@ -66,6 +66,10 @@ these procedures.
 In the near future we will be converting all exception types to refs to
 remove the need for the ``newException`` template.
 
+- A new pragma ``.used`` can be used for symbols to prevent
+the "declared but not used" warning. More details can be found `here <http://nim-lang.org/docs/manual.html#pragmas-used-pragma>`_.
+
+
 Bugfixes
 --------