new feature: .used pragma to suppress declared-but-not-used warning
This commit is contained in:
parent
dd8cbf5fca
commit
8f426b974a
5 changed files with 51 additions and 10 deletions
|
|
@ -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
|
||||
--------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue