Closed pouriyajamshidi closed 1 year ago
You are supposed to use --mm:orc
instead of -mm:orc
, otherwise it will be interpreted as -m
and its value.
It does give a noop warning
command line(1, 2) Warning: 'm' is deprecated, now a noop [Deprecated]
command line(1, 2) Warning: 'm' is deprecated, now a noop [Deprecated]
you are right. thanks!
What happened?
Compiling a program with
-mm
flag ignores the instruction.In the output below, I am instructing the compiler to use
orc
memory management but we see that it usesrefc
.Nim Version
Current Standard Output Logs
Expected Standard Output Logs
Possible Solution
use
-gc
instead of-mm
on the latest version.Additional Information
If you specify
-gc:orc
instead of-mm:orc
, the compiler uses the right memory management algorithm.