I'm trying different things and experimenting and that's how I ended up trying 
to use \--seqsv2:on. However, it shows the above error.

The compilation is done on macOS 10.14.6 with Nim 1.0.99.

The complete compilation command is:
    
    
    nim c --gcc.options.speed="-O4 -Ofast -flto -march=native 
-fno-strict-aliasing -ffast-math " \
    --gcc.options.linker="-flto" --clang.options.speed="-O4 -Ofast -flto 
-march=native -fno-strict-aliasing -ffast-math " \
    --clang.options.linker="-flto" -d:release -d:danger --passL:parser.a 
--threads:on --hints:off --opt:speed \
    --nilseqs:on --seqsv2:on --gc:regions --path:src -o:arturo -f 
--nimcache:_cache --embedsrc --checks:off --overflowChecks:on \
    src/main.nim
    
    
    Run

But I'm getting:
    
    
    /Users/drkameleon/Documents/Code/Tests/Nim/lib/system/gc_regions.nim(342, 
8) Error: undeclared identifier: 'PGenericSeq'
    stack trace: (most recent call last)
    
/private/var/folders/0k/4qyh49ss2pqg9262tw1sn23r0000gn/T/nimblecache/nimscriptapi.nim(165,
 16)
    
/Users/drkameleon/Documents/Code/OpenSource/arturo-lang/arturo/nim_98658.nims(151,
 16) releaseTask
    
    
    Run

Any ideas what is going on? Is it incompatible with \--gc:regions?

/Users/drkameleon/Documents/Code/Tests/Nim/lib/system/nimscript.nim(252, 7) 
exec|   
---|---

Reply via email to