8000 build under Windows · Issue #53 · velipso/sink · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
build under Windows #53
Open
Open
@steve64

Description

@steve64

Hi Sean, just discovered yesterday your Sink language. From a first look it looks really interesting (and I looked at really many languages...). The issue is that I tried to rebuild it from sources on Windows 10 (with GCC, not clang) and I got many compilation errors like:

C:\sink\sink-master>cc -o tgt\sink.exe -fwrapv -O2 src\cmd.c src\sink_shell.c src\sink.
src\sink_shell.c: In function 'L_file_write':
src\sink_shell.c:1220:9: error: assignment of read-only variable 'data'
    data = sink_caststr(ctx, sink_tostr(ctx, args[1]));
         ^
src\sink.c: In function 'bmp_alloc':
src\sink.c:9228:13: warning: missing terminating ' character
  # error Don't know how to implement bmp_alloc
             ^
src\sink.c: In function 'unop_int_clz':
src\sink.c:11274:45: error: missing binary operator before token "("
  #if defined(__has_builtin) && __has_builtin(__builtin_clz)
                                             ^
src\sink.c:11289:13: warning: missing terminating ' character
  # error Don't know how to implement bmp_alloc

I had no problems with clang on macOS instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0