summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-04-12 15:17:47 +0200
committerAraq <rumpf_a@web.de>2019-04-12 15:17:47 +0200
commit0e57b4cf6414f81e3fb2337fdd06b49990f7424f (patch)
tree02d14bbf9ac2724df51d24a1c164eba37e665777
parent8201db81b2ac3c5dea85b5f8707d1d802dba53ba (diff)
downloadNim-0e57b4cf6414f81e3fb2337fdd06b49990f7424f.tar.gz
we do not support -d:useWinAnsi switch anymore
-rw-r--r--changelog.md5
-rw-r--r--doc/nimc.rst6
2 files changed, 5 insertions, 6 deletions
diff --git a/changelog.md b/changelog.md
index d66268bd5..191ddb761 100644
--- a/changelog.md
+++ b/changelog.md
@@ -32,11 +32,11 @@
 - `getImpl` on a `var` or `let` symbol will now return the full `IdentDefs`
   tree from the symbol declaration instead of just the initializer portion.
 - it is now possible to use statement list expressions after keywords with
-  indentation: raise, return, discard, yield. This helps parsing code produced 
+  indentation: raise, return, discard, yield. This helps parsing code produced
   by Nim template expansion where stmtListExpr can appear in place of any expression.
   Example:
 ```nim
-  raise 
+  raise
     var e = new(Exception)
     e.msg = "My Exception msg"
     e
@@ -189,6 +189,7 @@ proc enumToString*(enums: openArray[enum]): string =
   differently.
 
 - `securehash` is moved to `lib/deprecated`
+- The switch ``-d:useWinAnsi`` is not supported anymore.
 
 
 ### Language additions
diff --git a/doc/nimc.rst b/doc/nimc.rst
index bbd29e1a1..4ea2337a8 100644
--- a/doc/nimc.rst
+++ b/doc/nimc.rst
@@ -350,15 +350,13 @@ Define                   Effect
                          More aggressive optimizations are possible, eg:
                          ``--passC:-ffast-math`` (but see issue #10305)
                          ``--stacktrace:off``
-``useWinAnsi``           Modules like ``os`` and ``osproc`` use the Ansi versions
-                         of the Windows API. The default build uses the Unicode
-                         version.
 ``useFork``              Makes ``osproc`` use ``fork`` instead of ``posix_spawn``.
 ``useNimRtl``            Compile and link against ``nimrtl.dll``.
 ``useMalloc``            Makes Nim use C's `malloc`:idx: instead of Nim's
                          own memory manager, albeit prefixing each allocation with
                          its size to support clearing memory on reallocation.
-                         This only works with ``gc:none``.
+                         This only works with ``gc:none`` and
+                         with ``--newruntime``.
 ``useRealtimeGC``        Enables support of Nim's GC for *soft* realtime
                          systems. See the documentation of the `gc <gc.html>`_
                          for further information.