unresolved external symbol PyExc_RuntimeError
Open
- Dominant language
- Go
- Stars
- 2.3k
- Forks
- 136
- Avg merge
- 14m
- Merged PRs (30d)
- 2
Description
Below is the cause of the unresolved symbol. I tried inserting `__declspec(dllimport)` but clang complains that the assignment to `_cgohack_PyExc_RuntimeError ` is not a constant expression. It seemed to build and link without a problem if I commented the two lines out. I don't understand what the intent is here.
```c
extern char PyExc_RuntimeError[];
void *_cgohack_PyExc_RuntimeError = PyExc_RuntimeError;
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.