unresolved external symbol PyExc_RuntimeError
Aperta
- Lingua principale
- Go
- Stelle
- 2.3k
- Fork
- 136
- Merge medio
- 14m
- PR unite (30g)
- 2
Descrizione
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;
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.