From 91ecae9c9328077f87053bc1fc313e950de4a373 Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 8 Jul 2014 08:48:48 +0200 Subject: [PATCH] fixes #1328 --- lib/system.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/system.nim b/lib/system.nim index 0cd1f77df4..ac259c560e 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -46,6 +46,7 @@ const on* = true ## alias for ``true`` off* = false ## alias for ``false`` +{.push warning[GcMem]: off.} {.push hints: off.} type @@ -2989,6 +2990,8 @@ proc deepCopy*[T](x: T): T {.magic: "DeepCopy", noSideEffect.} = discard ## performs a deep copy of `x`. This is also used by the code generator ## for the implementation of ``spawn``. +{.pop.} #{.push warning[GcMem]: off.} + when not defined(booting): type semistatic*[T] = static[T] | T