fix #10305 nim cpp is now nan-correct at CT (#10310)

* fix #10305 nim cpp is now nan-correct at CT
* add example where simply `nim cpp -d:release` would exhibit nan bug
This commit is contained in:
Timothee Cour 2019-01-15 05:50:28 -08:00 • committed by Andreas Rumpf
commit 4355f23ee5
3 changed files with 35 additions and 4 deletions

View file

@ -347,6 +347,9 @@ complete list.
Define Effect
====================== =========================================================
``release`` Turns off runtime checks and turns on the optimizer.
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.