unresolved external symbol PyExc_RuntimeError
Ouverte
- Langage dominant
- Go
- Étoiles
- 2.3k
- Forks
- 136
- Merge moyen
- 14 min
- PR mergées (30 j)
- 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;
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.