we do not support -d:useWinAnsi switch anymore

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

View file

@ -189,6 +189,7 @@ proc enumToString*(enums: openArray[enum]): string =
differently. differently.
- `securehash` is moved to `lib/deprecated` - `securehash` is moved to `lib/deprecated`
- The switch ``-d:useWinAnsi`` is not supported anymore.
### Language additions ### Language additions

View file

@ -350,15 +350,13 @@ Define Effect
More aggressive optimizations are possible, eg: More aggressive optimizations are possible, eg:
``--passC:-ffast-math`` (but see issue #10305) ``--passC:-ffast-math`` (but see issue #10305)
``--stacktrace:off`` ``--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``. ``useFork`` Makes ``osproc`` use ``fork`` instead of ``posix_spawn``.
``useNimRtl`` Compile and link against ``nimrtl.dll``. ``useNimRtl`` Compile and link against ``nimrtl.dll``.
``useMalloc`` Makes Nim use C's `malloc`:idx: instead of Nim's ``useMalloc`` Makes Nim use C's `malloc`:idx: instead of Nim's
own memory manager, albeit prefixing each allocation with own memory manager, albeit prefixing each allocation with
its size to support clearing memory on reallocation. 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 ``useRealtimeGC`` Enables support of Nim's GC for *soft* realtime
systems. See the documentation of the `gc <gc.html>`_ systems. See the documentation of the `gc <gc.html>`_
for further information. for further information.