added -d:nimNoArrayToString define to allow easier porting to 0.18

This commit is contained in:
Araq 2018-03-01 09:42:25 +01:00
commit ce1047f2ae
3 changed files with 27 additions and 7 deletions

View file

@ -1,4 +1,4 @@
## v0.18.0 - dd/mm/yyyy
## v0.18.0 - 01/03/2018
### Changes affecting backwards compatibility
@ -16,7 +16,9 @@
- Arrays of char cannot be converted to ``cstring`` anymore, pointers to
arrays of char can! This means ``$`` for arrays can finally exist
in ``system.nim`` and do the right thing.
in ``system.nim`` and do the right thing. This means ``$myArrayOfChar`` changed
its behaviour! Compile with ``-d:nimNoArrayToString`` to see where to fix your
code.
- `reExtended` is no longer default for the `re` constructor in the `re`
module.