Hi all!

First of all, thanks for the wonderful language that Nim is.

I'm trying to compile a static library project using \--os:ios flag. The 
<include header, library> will then be used for mobile iOS app. However, I am 
getting weird errors:
    
    
    Error: type mismatch: got <int>
    but expected one of:
    proc c_malloc(size: csize_t): pointer
      first type mismatch at position: 1
      required type for size: csize_t
      but expression 'sizeof(SysLockObj)' is of type: int
    
    expression: c_malloc(sizeof(SysLockObj))
    make: *** [build/nim_status.a] Error 1
    
    
    Run

Does anyone have any idea what is this about?

Thanks!

Reply via email to