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

linking not done using g++ when language specified as "C++" (not "c++") #1226

Open
robertwb opened this issue Mar 6, 2011 · 1 comment · May be fixed by #5341
Open

linking not done using g++ when language specified as "C++" (not "c++") #1226

robertwb opened this issue Mar 6, 2011 · 1 comment · May be fixed by #5341

Comments

@robertwb
Copy link
Contributor

robertwb commented Mar 6, 2011

Hello,

When language="C++" (wrong capitalization) is passed to an extension type, the cython files are indeed compiled using C++ mode. However, the final linking is done using the C compiler, causing the C++ std libs to not be linked in. It appears that in some places, extension.language.lower() == "c++" is used to determine the language type, but converting to lower case isn't done universally.

Migrated from http://trac.cython.org/ticket/667

@robertwb
Copy link
Contributor Author

scoder commented

Sounds like a distutils issue to me, rather than a Cython issue.

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

Successfully merging a pull request may close this issue.

1 participant