boostorg / boostorg/python

"may be used uninitialized" warning in extract.hpp

未關閉
#180 5 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C++
星號
537
分支
223
平均合併
11 小時 22 分鐘
30 天內合併 PR
2

描述

With GCC 7.2 on Fedora (g++ --version: g++ (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)) I get the following (probably false) warning:
```
/include/boost/python/extract.hpp:185:11: warning: ‘*((void*)& +24)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
```
It would be nice to not get it :-) (without using `-Wno-maybe-uninitialized`)

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。