Skip to content
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

Remove -std=c++11 in CXXFLAGS #174

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

rnestler
Copy link
Contributor

@rnestler rnestler commented Jun 5, 2024

The default mode on a system should be fine in most cases. If a user needs to declare a special -std they can easily do it themselves by passing --with-cxxflags=-std=c++11.

Fixes #173

The default mode on a system should be fine in most cases. If a user needs to declare a special `-std` they can easily do it themselves by passing  `--with-cxxflags=-std=c++11`.
@rnestler rnestler deleted the remove-std-override branch July 8, 2024 08:35
@stanhu
Copy link
Contributor

stanhu commented Jul 9, 2024

@tenderlove This actually broke compiling the extension for macOS: #177. #179 seems to solve the issue for me. Probably worth adding macOS to CI.

@tenderlove
Copy link
Collaborator

@stanhu ugh. Thanks for sending the PR. I'll add macOS to CI too. Thank you!

@rnestler
Copy link
Contributor Author

rnestler commented Jul 10, 2024

@stanhu @tenderlove Sorry for breaking it for macOS 🙈 But running gem install charlock_holmes -- --with-cxxflags=-std=c++11 should work, right?

@tenderlove
Copy link
Collaborator

@rnestler don't worry about it, we didn't have CI before (but we do now). Also yes, it should work fine if you pass the cxxflags manually. 😄

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.

Build error using GCC version 14 (Arch GNU/Linux)
4 participants