8000 Force std=c++11 so it build on macs by mkmik · Pull Request #9 · agatan/ctclib · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Force std=c++11 so it build on macs #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

mkmik
Copy link
@mkmik mkmik commented Jun 19, 2024

In order to build kenlm on modern macs --std=c++11 must be explicitly enabled.

$ clang --version
Apple clang version 15.0.0 (clang-1500.3.9.4)

I tried this patch on linux debian:11 and debian:12 and it doesn't cause 7DEF regressions there.

While I was at it I noticed that the readme didn't mention the necessity of installing cmake which is required to build kenlm, so I updated the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0