Skip to content

Cannot build example counter #279

@bodemann

Description

@bodemann

Zig beginner here, so it might be missing something.

Running zig 0.15.2, on Linux cachyos 6.17.9-2

❯ zig build example -Dexample=counter
example
└─ run exe example
└─ compile exe example Debug native 1 errors
src/vxfw/App.zig:466:37: error: expected type 'i16', found 'u16'
m_local.col = item.local.col;
~~~~~~~~~~^~~~
src/vxfw/App.zig:466:37: note: signed 16-bit int cannot represent all possible unsigned 16-bit values

This seems not to be the only example not working.

@rockorager Thank you very much for putting time and work into generating a TUI lib for Zig.

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