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 dependency on libstdc++ #18

Closed
newhoggy opened this issue Sep 21, 2018 · 5 comments
Closed

Remove dependency on libstdc++ #18

newhoggy opened this issue Sep 21, 2018 · 5 comments

Comments

@newhoggy
Copy link

This fails to build in the absence of libstdc++. Looking at the source code it doesn't look like the c-bits actually use any C++ functionality.

@chadaustin
Copy link
Owner

I'd support this change. I don't have time to implement it immediately but if you want to put together a PR I could get it landed and released.

@chadaustin
Copy link
Owner

This dependency was added as part of #12

@robdockins Can you clarify what systems needed this change?

I tried to convert the .cpp files to .c last night but I couldn't figure out how to convince Cabal to build them in C mode rather than C++ mode. If I could reproduce @robdockins's original issue, it probably wouldn't be hard to break the dependency on libstdc++.

@robdockins
Copy link
Contributor

Sorry, I've paged out the original context for that request... I think it may have been Windows builds that were causing me trouble at the time, but I don't recall for sure.

@chadaustin
Copy link
Owner

0.2.4.7 is released with all of the FFI bits replaced with C99 instead of C++ code.

@newhoggy
Copy link
Author

Thanks!

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

No branches or pull requests

3 participants