From 0e57b4cf6414f81e3fb2337fdd06b49990f7424f Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 12 Apr 2019 15:17:47 +0200 Subject: we do not support -d:useWinAnsi switch anymore --- changelog.md | 5 +++-- doc/nimc.rst | 6 ++---- 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 `_ for further information. -- cgit 1.4.1-2-gfad0