gopy
gopy copied to clipboard
unresolved external symbol PyExc_RuntimeError
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.
extern char PyExc_RuntimeError[];
void *_cgohack_PyExc_RuntimeError = PyExc_RuntimeError;