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 摘要。