Skip to content

error: 'ntohs' was not declared in this scope #5

@lotem

Description

@lotem
          > This should work on Windows; does Linux need to include a header? Or perhaps we only care about Windows this time.

No need to include header in *nix and Android (Boost Asio also doesn't include any one).

Originally posted by @WhiredPlanck in #4 (comment)

This seems to cause docker build to fail:
https://github.com/rime/librime/actions/runs/8317143912/job/22757546568?pr=854

#13 7.236 /librime/plugins/charcode/src/codepoint_translator.cc:70:13: error: 'ntohs' was not declared in this scope

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions