boostorg / boostorg/python

"may be used uninitialized" warning in extract.hpp

Open
#180 5 comments 4 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
537
Forks
223
Avg merge
11h 22m
Merged PRs (30d)
2

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.