Skip to content

Compile errror when using clang 17 on windows #25

@jsjtxietian

Description

@jsjtxietian

Hi thanks for the great work.

I tried to compile this repo using clang 17 on windows but it gives some compile error, it can be categoried into 3 parts:

  • std::stoi and other similar ones need to include <string> to compile
  • _aligned_malloc's result should be casted to target type
  • _mm_prefetch's arg should be casted to target type

I suppose it won't complain about all these on linux , but I'm posting here for further reference.

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