we do not support -d:useWinAnsi switch anymore

This commit is contained in:
Araq
2019-04-12 15:17:47 +02:00
parent 8201db81b2
commit 0e57b4cf64
2 changed files with 5 additions and 6 deletions

View File

@@ -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

View File

@@ -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.