boostorg / boostorg/context

Symbol export with llvm-ml

Open
#317 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Assembly
Stars
370
Forks
186
Avg merge
24d 6h
Merged PRs (30d)
1

Description

Hi all,

I thought I'd share 2 patches that I needed to successfully compile boost.context on clang-cl with llvm-ml. I think these can't exactly be applied as-is without breaking existing functionality, but it basically stems down to `/quiet` not being supported, and needing to pass `--m64` to enable 64-bit aka the `mt64.exe` equivalent. The other thing is how symbols get exported, the `PROC` call doesn't support `EXPORT` however `__declspec(dllexport)` on the C signature does work.

[cmake.patch](https://github.com/user-attachments/files/22249116/cmake.patch)

[fcontext.patch](https://github.com/user-attachments/files/22249117/fcontext.patch)

Kind regards

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.