go-python / go-python/gopy

unresolved external symbol PyExc_RuntimeError

オープン
#267 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
2.3k
フォーク
136
平均マージ
14分
マージ済み PR(30日)
2

説明

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;
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。