remove dead code elimination option (#7669)

This commit is contained in:
Jacek Sieka 2018-04-23 17:02:38 +08:00 • committed by Andreas Rumpf
commit 72dfe176f5
57 changed files with 67 additions and 122 deletions

View file

@ -12,7 +12,7 @@ else:
LibS = "libcsfml-system.so.2.0"
LibW = "libcsfml-window.so.2.0"
#{.error: "Platform unsupported".}
{.deadCodeElim: on.}
{.pragma: pf, pure, final.}
type
PClock* = ptr TClock

View file

@ -1,5 +1,5 @@
import sfml
{.deadCodeElim: on.}
let
Black*: TColor = color(0, 0, 0)
White*: TColor = color(255, 255, 255)

View file

@ -1,2 +1 @@
import sfml, math, strutils
{.deadCodeElim: on.}