Skip to content

Fix compilation by using documented language keyword#37

Open
NAThompson wants to merge 1 commit into
sahandha:masterfrom
NAThompson:fix_build
Open

Fix compilation by using documented language keyword#37
NAThompson wants to merge 1 commit into
sahandha:masterfrom
NAThompson:fix_build

Conversation

@NAThompson

Copy link
Copy Markdown

The distutils API reference shows that the language should be specified as c++, not C++. Because of this seemingly trivial difference, builds failed with:

Error in compiling Cython file:
...
_eif.pyx:51:8: Operation only allowed in c++

Change the language to c++ which makes this failure go away.

The [distutils](https://docs.python.org/3.9/distutils/apiref.html) API reference shows that the language should be specified as `c++`, not `C++`.
Because of this seemingly trivial difference, builds failed with:

```
Error in compiling Cython file:
...
_eif.pyx:51:8: Operation only allowed in c++
```

Change the language to `c++` which makes this failure go away.
@varunvallabhan52

Copy link
Copy Markdown

@sahandha @mgckind Could you merge this PR to fix the build/install issues.

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.

2 participants